Skip site navigation (1) Skip section navigation (2)

Re: problem with WAL files

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Romain Thouvenin <rthouvenin(at)sfwan(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: problem with WAL files
Date: 2005-06-30 21:12:24
Message-ID: 21708.1120165944@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-admin
Romain Thouvenin <rthouvenin(at)sfwan(dot)com> writes:
> I'm currently testing PITR features of 8.0 release. I followed the steps 
> given by the documentation and thus deleted the WAL files in pg_xlog 
> after having restored the database.

But you have the WAL files in your archive area, right?

> 2005-06-30 17:57:50 LOG:  restore_command = "copy E:\\temp\\archive\\%f 
> "%p""
> 2005-06-30 17:57:50 LOG:  recovery_target_time = 2005-07-01 00:45:00+02
> 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

Apparently it wasn't able to get the 00000001000000000000000B segment
from the archive either.  The displayed restore_command looks a bit
bogus to me: too many \'s.  Maybe you need to correct that?

			regards, tom lane

In response to

Responses

pgsql-admin by date

Next:From: Jeff FrostDate: 2005-06-30 22:03:46
Subject: Re: problem with WAL files
Previous:From: Ben KimDate: 2005-06-30 18:49:10
Subject: Re: restore database from bare files

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group