pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedrecovery from a bad transaction log
3+ messages / 2 participants
[nested] [flat]
* recovery from a bad transaction log
@ 2003-07-30 14:36 pgboy@guthrie.charm.net
0 siblings, 1 reply; 3+ messages in thread
From: pgboy@guthrie.charm.net @ 2003-07-30 14:36 UTC (permalink / raw)
To: pgsql-admin
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 ???
pg
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: recovery from a bad transaction log
@ 2003-07-30 17:18 Andrew Sullivan <andrew@libertyrms.info>
parent: pgboy@guthrie.charm.net
0 siblings, 0 replies; 3+ messages in thread
From: Andrew Sullivan @ 2003-07-30 17:18 UTC (permalink / raw)
To: 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
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: recovery from a bad transaction log
@ 2003-07-30 19:57 pgboy@guthrie.charm.net
0 siblings, 0 replies; 3+ messages in thread
From: pgboy@guthrie.charm.net @ 2003-07-30 19:57 UTC (permalink / raw)
To: andrew@libertyrms.info; pgsql-admin
that's what i was looking for. thanks. and i see what you mean
about not really trusting that the data really is all there.
still, most is better than none.
again, thnks.
pg
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2003-07-30 19:57 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-07-30 14:36 recovery from a bad transaction log pgboy@guthrie.charm.net
2003-07-30 17:18 ` Andrew Sullivan <andrew@libertyrms.info>
2003-07-30 19:57 Re: recovery from a bad transaction log pgboy@guthrie.charm.net
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