From: Tom Lane <tgl@sss.pgh.pa.us>
To: andy.shellam@mailnetwork.co.uk
Cc: 'Rajesh Kumar Mallah' <mallah.rajesh@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: FW: Setting up of PITR system.
Date: Wed, 29 Mar 2006 09:46:30 -0500
Message-ID: <14904.1143643590@sss.pgh.pa.us> (raw)
In-Reply-To: <!&!AAAAAAAAAAAuAAAAAAAAALfqleqaijxJlxu+E5RYF+YBAJaQ0jfg6zBFp7poaER6UCkAAAGy3PcAABAAAADL3SivwDRiRYXS5tJhonpaAQAAAAA=@mailnetwork.co.uk>
References: <!&!AAAAAAAAAAAuAAAAAAAAALfqleqaijxJlxu+E5RYF+YBAJaQ0jfg6zBFp7poaER6UCkAAAGy3PcAABAAAADL3SivwDRiRYXS5tJhonpaAQAAAAA=@mailnetwork.co.uk>
"Andy Shellam" <andy.shellam@mailnetwork.co.uk> writes:
> If pg_start_backup is used correctly, no data pages will be written to disk
> until pg_stop_backup is called, so this shouldn't be an issue
That's incorrect, the database will continue to operate normally. The
only thing pg_start_backup really does is lay down a marker so you can
tell how far back you need to save WAL files in order to do a PITR
restore using your backup.
The fact that the backup tool might get an inconsistent copy of some
files is not an issue, because replay of the WAL files against the
copied database will fix any inconsistencies.
It definitely is a pain in the neck that GNU tar complains about files
changing underneath it --- I've looked for a way to disable that, or at
least reduce it to a warning instead of an error condition, but gtar
doesn't seem to have such a switch. You should try alternative backup
tools such as cpio or rsync.
regards, tom lane
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, andy.shellam@mailnetwork.co.uk, mallah.rajesh@gmail.com
Subject: Re: FW: Setting up of PITR system.
In-Reply-To: <14904.1143643590@sss.pgh.pa.us>
References: <!&!AAAAAAAAAAAuAAAAAAAAALfqleqaijxJlxu+E5RYF+YBAJaQ0jfg6zBFp7poaER6UCkAAAGy3PcAABAAAADL3SivwDRiRYXS5tJhonpaAQAAAAA=@mailnetwork.co.uk> <14904.1143643590@sss.pgh.pa.us>
* 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