From: Linux Geeks <indolinux.geeks@gmail.com>
To: ksrinivas@coriendo.com
To: pgsql-admin@postgresql.org
Subject: Re: Moving data directory
Date: Sun, 13 May 2007 00:57:57 +0700
Message-ID: <e0247eb60705121057u4485e4k8b3bceb9dd8a4512@mail.gmail.com> (raw)
In-Reply-To: <026d01c794b6$14f29770$800101df@srinilaptop>
References: <e0247eb60705120947q495da44ar629cd1b8191879f@mail.gmail.com>
<026d01c794b6$14f29770$800101df@srinilaptop>
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@coriendo.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@postgresql.org so that your
> message can get through to the mailing list cleanly
>
>
--
To Analyze Is To Know Batte Field, Differ from Battle Itself
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: indolinux.geeks@gmail.com, ksrinivas@coriendo.com
Subject: Re: Moving data directory
In-Reply-To: <e0247eb60705121057u4485e4k8b3bceb9dd8a4512@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox