Re: recovery from server crash - Mailing list pgsql-admin

From mike g
Subject Re: recovery from server crash
Date
Msg-id 1088741072.23457.23.camel@localhost.localdomain
Whole thread Raw
In response to recovery from server crash  (debs@debbiejenkins.com (Debs))
List pgsql-admin
Are you sure you have the raw database files?  The /home directory is
not where they are normally installed by default...

If those really are the database files I believe you can try to
reinstall postgres following the normal installation instructions but do
not do the initdb step.  Skip to starting the postmaster but reference
the location of the data directory under /home instead.

If there were transactions in process when it crashed it might not
start.  It will take the more experienced postgres folks on the list to
help you recover from that.

Might try searching the hackers and general list as well.

HTH.

Mike


On Wed, 2004-06-30 at 04:42, Debs wrote:
> I have a set of database files from PostgreSQL where the
> root partition crashed but the /home was saved.  How do I remount
> these databases with a new installation of the O/S and database
> executables?  N.B. I _don't_ have SQL dumps, just the actual raw
> database files themselves
>
>
> thanks in advance
> Debs
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

pgsql-admin by date:

Previous
From: Jens Porup
Date:
Subject: Re: Postgres IDENT auth problems...
Next
From: mike g
Date:
Subject: Re: Dumping partial database content