Re: recovery from a bad transaction log - Mailing list pgsql-admin

From Andrew Sullivan
Subject Re: recovery from a bad transaction log
Date
Msg-id 20030730171807.GD12794@libertyrms.info
Whole thread Raw
In response to recovery from a bad transaction log  (pgboy@guthrie.charm.net)
List pgsql-admin
On Wed, Jul 30, 2003 at 10:36:03AM -0400, pgboy@guthrie.charm.net wrote:
>
> given that someone (else) deleted the pg_xlog directory, or that it got
> otherwise corrupted, is there a way to regenerate the database, given
> that all the data is still safely tucked away in $PGDATA/base ???

Well, I'm not too sure how correct that is (how do you know _all_ the
data is there), but you could try pg_resetxlog.  I'd go looking for
data in an inconsistent state afterwards, though.

A

--
----
Andrew Sullivan                         204-4141 Yonge Street
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M2P 2A8
                                         +1 416 646 3304 x110


pgsql-admin by date:

Previous
From: Andrew Sullivan
Date:
Subject: Re: PG 7.3.3 startup problem
Next
From: Andrew Sullivan
Date:
Subject: Re: PG 7.3.3 startup problem