Re: Re: pg v. 8.4.5 misses objects and data after restoring from backup using wal - Mailing list pgsql-admin

From Tom Lane
Subject Re: Re: pg v. 8.4.5 misses objects and data after restoring from backup using wal
Date
Msg-id 24373.1294086266@sss.pgh.pa.us
Whole thread Raw
In response to Re: Re: pg v. 8.4.5 misses objects and data after restoring from backup using wal  (Imre Oolberg <imre@auul.pri.ee>)
Responses Re: Re: pg v. 8.4.5 misses objects and data after restoring from backup using wal
List pgsql-admin
Imre Oolberg <imre@auul.pri.ee> writes:
> First of all, thanks for your time dealing with my situation. I must
> stress that i have wal arhived starting from before issuing
> pg_start_backup, wal archives generated before pg_start/stop_backup and
> also some wal archive files generated after pg_stop_backup (and
> permissions are ok). But for some reason my replay starts exactly where
> .backup file says 'stop wal location', referring to my earlier post

> STOP WAL LOCATION: 1/6325B2E0 (file 000000010000000100000063)

> I am starting to think more in the direction what Kevin Grittner
> suggested that i miss something in my procedure and instead following so
> to say recovery path i am doing something else which strangely ends up
> with working database process but actually misses some data.

I wonder whether you're failing to copy the backup_label file as part of
the base backup.  The presence of that file is what tells the slave
postmaster where it has to start recovering from.

            regards, tom lane

pgsql-admin by date:

Previous
From: Imre Oolberg
Date:
Subject: Re: Re: pg v. 8.4.5 misses objects and data after restoring from backup using wal
Next
From: "Kevin Grittner"
Date:
Subject: Re: Re: pg v. 8.4.5 misses objects and data after restoring from backup using wal