Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c6Dv5-0006Mh-0d for pgsql-admin@arkaria.postgresql.org; Mon, 14 Nov 2016 09:51:19 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1c6Dv4-0002Fk-Dv for pgsql-admin@arkaria.postgresql.org; Mon, 14 Nov 2016 09:51:18 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1c6DtN-0000JL-AD for pgsql-admin@postgresql.org; Mon, 14 Nov 2016 09:49:33 +0000 Received: from mwork.nabble.com ([162.253.133.43]) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c6DtK-0003zX-H5 for pgsql-admin@postgresql.org; Mon, 14 Nov 2016 09:49:32 +0000 Received: from mben.nabble.com (unknown [162.253.133.72]) by mwork.nabble.com (Postfix) with ESMTP id 278FE6B0663C4 for ; Mon, 14 Nov 2016 02:49:30 -0700 (MST) Date: Mon, 14 Nov 2016 02:49:30 -0700 (MST) From: rajan To: pgsql-admin@postgresql.org Message-ID: <1479116970057-5930204.post@n3.nabble.com> Subject: WAL restoration is not happening completely MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -0.3 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org 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-tp5930204.html Sent from the PostgreSQL - admin mailing list archive at Nabble.com. -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin