From: Jeff Frost <jeff@frostconsultingllc.com>
To: Romain Thouvenin <rthouvenin@sfwan.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: problem with WAL files
Date: Thu, 30 Jun 2005 10:06:24 -0700 (PDT)
Message-ID: <Pine.LNX.4.63.0506301003050.15741@discord.dyndns.org> (raw)
In-Reply-To: <42C422AC.7090309@sfwan.com>
References: <42C422AC.7090309@sfwan.com>
Romain,
This is a problem I ran into during testing as well. It seems that your base
backup must also include the in use wal file. IN your case:
00000001000000000000000B. So, I think the restore documentation is slightly
misleading. In my experience, what you really need to do is remove all wal
files from your pg_xlog directory, then put in the in use wal file from when
you did your base backup (00000001000000000000000B in your case), put in the
recovery.conf and then start postgresql. This procedure works well for me,
but I didn't quite grasp that initially when reading the documentation on how
to backup/restore with PITR.
On Thu, 30 Jun 2005, Romain Thouvenin wrote:
> But when I put the recovery.conf file and try to start postgres, it fails.
> The log file says :
>
> 2005-06-30 17:57:50 LOG: could not open file "C:/Program
> Files/PostgreSQL/8.0/data/pg_xlog/00000001000000000000000B" (log file 0,
> segment 11): No such file or directory
--
Jeff Frost, Owner <jeff@frostconsultingllc.com>
Frost Consulting, LLC http://www.frostconsultingllc.com/
Phone: 650-780-7908 FAX: 650-649-1954
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: jeff@frostconsultingllc.com, rthouvenin@sfwan.com
Subject: Re: problem with WAL files
In-Reply-To: <Pine.LNX.4.63.0506301003050.15741@discord.dyndns.org>
References: <42C422AC.7090309@sfwan.com> <Pine.LNX.4.63.0506301003050.15741@discord.dyndns.org>
* 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