WAL restoration is not happening completely

From: rajan <vgmonnet(at)gmail(dot)com>
To: pgadmin-support(at)postgresql(dot)org
Subject: WAL restoration is not happening completely
Date: 2016-11-14 09:27:24
Message-ID: 1479115644130-5930199.post@n3.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi,

In postgresql.conf file we have set the following configuration,
wal_level=hot_standby
archive_mode=on
archive_command='test ! -f /archives/%f && cp %p /archives/%f'
max_wal_senders=1
wal_keep_segments=128

and took a base backup using the command, pg_basebackup --xlog --format=t -D
/backups/`date +%Y%m%d`

This base backup and WAL files from the '/archives' dir are moved to another
machine in which the base.rar is extracted into $PGDATA folder and WAL
files(9 files) are copied to '/archives' folder.

recovery.conf is created under the $PGDATA folder with the command
"restore_command = 'cp /archives/%f %p'" and then the postgres db service is
started.

*The restored database has changes which were done today and missing data
from changes did a couple of days before.*

Note: Can anybody suggest a way to verify/test the incremental backup?

-----
--
Thanks,
Rajan.
--
View this message in context: http://postgresql.nabble.com/WAL-restoration-is-not-happening-completely-tp5930199.html
Sent from the PostgreSQL - pgadmin support mailing list archive at Nabble.com.

Browse pgadmin-support by date

  From Date Subject
Next Message Wim Bertels 2016-11-14 10:07:03 pgadmin4 > apt.postgresql.org ?
Previous Message Dave Page 2016-11-14 09:07:33 Re: pgadmin III and future support