From: Jerry Sievers <gsievers19@comcast.net>
To: Virupaksha Kanjilal <v.kanjilal@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: WAL files required to make base backup consistent
Date: Tue, 28 May 2013 17:03:41 -0500
Message-ID: <87ppwa3goy.fsf@comcast.net> (raw)
In-Reply-To: <CADm2AyPy979npts3B6cNHX8dvgbrTJ1A0FKn9aXWD94NYb07LA@mail.gmail.com>
References: <CADm2AyPy979npts3B6cNHX8dvgbrTJ1A0FKn9aXWD94NYb07LA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
Virupaksha Kanjilal <v.kanjilal@gmail.com> writes:
> Hi
>
> I perform a pg_basebackup with tar option and do not bring in the WAL segments created during the backup. Now I want
> to make the backup a consistent copy and for that I need the WAL segments. How can I know which all WAL segments to
> apply to bring the backup to a consistent state?
Look in your WAL repository for files named *.backup.
The prefix part will match the name of a regular WALf file from when
the backup was started and the .backup file itself will contain some
human readable text indicating the last WAL segment that you'll need
for a consistent recovery.
HTH
> Thanks
> Viru
>
--
Jerry Sievers
Postgres DBA/Development Consulting
e: postgres.consulting@comcast.net
p: 312.241.7800
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: gsievers19@comcast.net, v.kanjilal@gmail.com
Subject: Re: WAL files required to make base backup consistent
In-Reply-To: <87ppwa3goy.fsf@comcast.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox