Re: [Q] createdb for existing directory

From: Alfred Perlstein <bright(at)wintelcom(dot)net>
To: "Roderick A(dot) Anderson" <raanders(at)altoplanos(dot)net>
Cc: "PostgreSQL::General List" <pgsql-general(at)postgreSQL(dot)org>
Subject: Re: [Q] createdb for existing directory
Date: 2000-10-16 19:40:19
Message-ID: 20001016124018.O272@fw.wintelcom.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

* Roderick A. Anderson <raanders(at)altoplanos(dot)net> [001016 12:32] wrote:
> On Mon, 16 Oct 2000, Alfred Perlstein wrote:
>
> > huh? How are you copying to an unmounted partition?
>
> Sorry I left that step out of the description. I usually mount it to some
> dumy point long enough to copy the files then unmount it and mount it to
> the database directory.

You could use a symlink and just keep using a different mountpoint.

postgresql should follow a symlink for the -D datadir option.

--
-Alfred Perlstein - [bright(at)wintelcom(dot)net|alfred(at)freebsd(dot)org]
"I have the heart of a child; I keep it in a jar on my desk."

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Darrin Ladd 2000-10-16 19:53:37 Re: dump vs dumpall
Previous Message Roderick A. Anderson 2000-10-16 19:30:21 Re: [Q] createdb for existing directory