From: Tom Lane <tgl@sss.pgh.pa.us>
To: Mike C <smith.not.western@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Database Recovery
Date: Sun, 07 Oct 2007 21:48:16 -0400
Message-ID: <26143.1191808096@sss.pgh.pa.us> (raw)
In-Reply-To: <bd0eabd0710071447u75913831gfb9cc25ca068e78b@mail.gmail.com>
References: <bd0eabd0710071447u75913831gfb9cc25ca068e78b@mail.gmail.com>
"Mike C" <smith.not.western@gmail.com> writes:
> I have a corrupt database. I copied the database directory offsite and
> restored from a backup. I'm now trying to recover data in the corrupt
> database added since the last backup. Any advice on how to approach
> this?
If you're lucky, REINDEX might solve your problems. The messages you
showed are all about index corruption, which REINDEX can fix. If you've
got corruption in the tables themselves then you might be screwed, but
try reindexing and see what happens ...
regards, tom lane
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, smith.not.western@gmail.com
Subject: Re: Database Recovery
In-Reply-To: <26143.1191808096@sss.pgh.pa.us>
* 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