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

error message in PITR restore:

From: "Mark Steben" <msteben(at)autorevenue(dot)com>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: error message in PITR restore:
Date: 2008-05-16 15:35:03
Message-ID: 006b01c8b76a$690c0170$14010a0a@dei26g028575 (view raw or flat)
Thread:
Lists: pgsql-admin
Hi folks,

  I'm in the process of implementing PITR backups and restores and learning
as I practice. I restored

 Using tar -xzf  (backup-name) followed by restarting postgres and having
the server replay the logs.

  I used a recovery_target_time of 1 day prior to current_date  Postgres
seems to come up OK but

  I get the following message over and over again in the serverlog:

 

      ERROR:  xlog flush request F/83462374 is not satisfied --- flushed
only to F/82FFF0AC

     CONTEXT:  writing block 1242336 of relation 1663/16388/17696

 

  The logs that came into play in the replay are (in shorthand)

       80, 81, 82.   The log that was copied back into xlog was 83 prior to
the restore.

 The relation in the error message points back to a table that was indeed
being updated

 While the backup was being done.

 

When I attempt to do another backup I get an error that the checkpoint
request failed.

 

Is there any way replay the restore to get out of this pickle, or do I start
from scratch?

 

Fortunately this is a development server so I have the luxury of recopying
production.

 

 

Mark Steben

Senior Database Administrator
@utoRevenueT 
A Dominion Enterprises Company
480 Pleasant Street
Suite B200
Lee, MA 01238
413-243-4800 Home Office 
413-243-4809 Corporate Fax

msteben <blocked::mailto:name(at)autorevenue(dot)com> @autorevenue.com

Visit our new website at 
 <blocked::http://www.autorevenue.com/> www.autorevenue.com

 

IMPORTANT: The information contained in this e-mail message is confidential
and is intended only for the named addressee(s). If the reader of this
e-mail message is not the intended recipient (or the individual responsible
for the delivery of this e-mail message to the intended recipient), please
be advised that any re-use, dissemination, distribution or copying of this
e-mail message is prohibited.  If you have received this e-mail message in
error, please reply to the sender that you have received this e-mail message
in error and then delete it.  Thank you.

 

Responses

pgsql-admin by date

Next:From: Simon RiggsDate: 2008-05-16 16:30:21
Subject: Re: error message in PITR restore:
Previous:From: LaRue, PatriciaDate: 2008-05-16 14:41:43
Subject: Can't reinstall b/c don't know the very long installation password

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