Re: Moving data directory

From: "Linux Geeks" <indolinux(dot)geeks(at)gmail(dot)com>
To: ksrinivas(at)coriendo(dot)com, pgsql-admin(at)postgresql(dot)org
Subject: Re: Moving data directory
Date: 2007-05-12 17:57:57
Message-ID: e0247eb60705121057u4485e4k8b3bceb9dd8a4512@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi Srinivas,

Is it permanently change it ? Do I have to change some entry in
configuration file ?

Regards,

Dino

On 5/12/07, Srinivas Kotapally <ksrinivas(at)coriendo(dot)com> wrote:
> You can do an initdb -d /var/lib/postgresql to initialize the data directory in
> the /var/lib/postgresql directory. If you also have data in the
> /usr/lib/postgresql - make sure you back it up and restore it in the new
> directory.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>
>

--
To Analyze Is To Know Batte Field, Differ from Battle Itself

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Srinivas Kotapally 2007-05-12 20:43:29 Re: Moving data directory
Previous Message Srinivas Kotapally 2007-05-12 16:53:34 Re: Moving data directory