From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Jeff Frost <jeff@frostconsultingllc.com>
Cc: Bruno Wolff III <bruno@wolff.to>
Cc: pgsql-admin@postgresql.org
Subject: Re: Replaying archived wal files after a dump restore?
Date: Tue, 25 Oct 2005 17:33:45 -0300
Message-ID: <20051025203344.GB7836@surnet.cl> (raw)
In-Reply-To: <Pine.LNX.4.64.0510250851380.17611@discord.dyndns.org>
References: <43407865.7090706@pse-consulting.de>
<20051003052744.GF4490@fetter.org>
<Pine.LNX.4.63.0510031124330.5115@discord.dyndns.org>
<20051025030951.GA16642@wolff.to>
<Pine.LNX.4.64.0510250851380.17611@discord.dyndns.org>
Jeff Frost wrote:
> Unfortunately, diffing the 8.0.4 docs against the 8.1 docs shows almost no
> useful differences. I was mostly hoping someone with knowledge of the WAL
> internal format could tell me how to extract the transactions from some and
> manually replay them in the db via psql with lots of copy/paste action.
Oh, so the data in the log must be very valuable to you. I guess you
could extract the data if you processed the WAL logs. A tool to do this
doesn't exist as far as I know, but you could write your own. There was
a crude hack by Tom Lane, which you can find on the archives:
From: Tom Lane <tgl@sss.pgh.pa.us>
To: "Mohan, Ross" <RMohan@arbinet.com>
Cc: pgsql-admin@postgresql.org
Date: Wed, 13 Apr 2005 10:26:09 -0400
Subject: Re: [ADMIN] question about wal and point in time recovery
It would be nice to expand on this tool.
--
Alvaro Herrera http://www.PlanetPostgreSQL.org
"Coge la flor que hoy nace alegre, ufana. ¿Quién sabe si nacera otra mañana?"
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: alvherre@alvh.no-ip.org, jeff@frostconsultingllc.com, bruno@wolff.to
Subject: Re: Replaying archived wal files after a dump restore?
In-Reply-To: <20051025203344.GB7836@surnet.cl>
References: <43407865.7090706@pse-consulting.de> <20051003052744.GF4490@fetter.org> <Pine.LNX.4.63.0510031124330.5115@discord.dyndns.org> <20051025030951.GA16642@wolff.to> <Pine.LNX.4.64.0510250851380.17611@discord.dyndns.org> <20051025203344.GB7836@surnet.cl>
* 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