pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: mike g <mike@thegodshalls.com>
To: Debs <debs@debbiejenkins.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: recovery from server crash
Date: Thu, 01 Jul 2004 23:04:32 -0500
Message-ID: <1088741072.23457.23.camel@localhost.localdomain> (raw)
In-Reply-To: <8fecbe9e.0406300142.6961a1c8@posting.google.com>
References: <8fecbe9e.0406300142.6961a1c8@posting.google.com>

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)



view thread (2+ messages)

Message-ID: <1088741072.23457.23.camel@localhost.localdomain>
Permalink:  ../1088741072.23457.23.camel@localhost.localdomain/
Also on:    postgresql.org/message-id/1088741072.23457.23.camel@localhost.localdomain

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mike@thegodshalls.com, debs@debbiejenkins.com
  Subject: Re: recovery from server crash
  In-Reply-To: <1088741072.23457.23.camel@localhost.localdomain>
  References: <8fecbe9e.0406300142.6961a1c8@posting.google.com> <1088741072.23457.23.camel@localhost.localdomain>

* 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