From: | "Brett W(dot) McCoy" <bmccoy(at)chapelperilous(dot)net> |
---|---|
To: | Leandro Fanzone <leandro(at)hasar(dot)com> |
Cc: | <pgsql-novice(at)postgresql(dot)org> |
Subject: | Re: Data directory destroyed |
Date: | 2001-01-23 14:18:20 |
Message-ID: | Pine.LNX.4.30.0101230916430.27977-100000@chapelperilous.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
On Tue, 23 Jan 2001, Leandro Fanzone wrote:
> Due to a problem with the filesystem, my "data" directory was thrashed.
> I had to remove it completely. Now the postmaster doesn't start. How do
> I recreate the data directory? I have the dumps for psql to create the
> databases, but I need postmaster running. What can I do?
> Thank you in advance.
Create the directory by hand (like $PGHOME/data), then re-run initdb with
that path (if $PGDATA is set for that directory, it will use that for the
path). Then you should be able to start postmaster and reload your dump.
-- Brett
http://www.chapelperilous.net/~bmccoy/
---------------------------------------------------------------------------
I'd like to meet the guy who invented beer and see what he's working on now.
From | Date | Subject | |
---|---|---|---|
Next Message | Oliver Elphick | 2001-01-23 14:56:45 | Re: Data directory destroyed |
Previous Message | Leandro Fanzone | 2001-01-23 13:50:17 | Data directory destroyed |