This is a discussion on Replaying archived wal files after a dump restore? within the pgsql Admins forums, part of the PostgreSQL category; --> Is it at all possible to manually replay archived WAL files after restoring from a pg_dump dumpfile? -- Jeff ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Is it at all possible to manually replay archived WAL files after restoring from a pg_dump dumpfile? -- Jeff Frost, Owner <jeff@frostconsultingllc.com> Frost Consulting, LLC http://www.frostconsultingllc.com/ Phone: 650-780-7908 FAX: 650-649-1954 ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq |
| |||
| Please don't reply to existing threads to start new ones. That is probably why your message didn't get any replies. On Mon, Oct 03, 2005 at 11:25:25 -0700, Jeff Frost <jeff@frostconsultingllc.com> wrote: > Is it at all possible to manually replay archived WAL files after restoring > from a pg_dump dumpfile? You probably want to look at: http://candle.pha.pa.us/main/writing...up-online.html That is from the soon to be released 8.1 documentation. PITR is available in 8.0, but I believe there were enhancements made to the tools for using it in 8.1. ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org |
| |||
| On Mon, 24 Oct 2005, Bruno Wolff III wrote: > Please don't reply to existing threads to start new ones. That is probably why > your message didn't get any replies. Point taken, but fortunately, Simon got back to me and essentially indicated that I was out of luck. > On Mon, Oct 03, 2005 at 11:25:25 -0700, > Jeff Frost <jeff@frostconsultingllc.com> wrote: >> Is it at all possible to manually replay archived WAL files after restoring >> from a pg_dump dumpfile? > > You probably want to look at: > http://candle.pha.pa.us/main/writing...up-online.html > > That is from the soon to be released 8.1 documentation. PITR is available > in 8.0, but I believe there were enhancements made to the tools for using > it in 8.1. 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. -- Jeff Frost, Owner <jeff@frostconsultingllc.com> Frost Consulting, LLC http://www.frostconsultingllc.com/ Phone: 650-780-7908 FAX: 650-649-1954 ---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster |
| ||||
| 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?" ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq |
| Thread Tools | |
| Display Modes | |
|
|