pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
recovery from server crash
2+ messages / 2 participants
[nested] [flat]

* recovery from server crash
@ 2004-06-30 09:42  Debs <debs@debbiejenkins.com>
  0 siblings, 1 reply; 2+ messages in thread

From: debs@debbiejenkins.com @ 2004-06-30 09:42 UTC (permalink / raw)
  To: pgsql-admin

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: recovery from server crash
@ 2004-07-02 04:04  mike g <mike@thegodshalls.com>
  parent: Debs <debs@debbiejenkins.com>
  0 siblings, 0 replies; 2+ messages in thread

From: mike g @ 2004-07-02 04:04 UTC (permalink / raw)
  To: Debs <debs@debbiejenkins.com>; +Cc: 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)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2004-07-02 04:04 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-06-30 09:42 recovery from server crash Debs <debs@debbiejenkins.com>
2004-07-02 04:04 ` mike g <mike@thegodshalls.com>

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