From: Tom Lane <tgl@sss.pgh.pa.us>
To: Joshua D. Drake <jd@commandprompt.com>
Cc: Brian Modra <epailty@googlemail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Backup of live database
Date: Wed, 16 Jan 2008 02:11:08 -0500
Message-ID: <19155.1200467468@sss.pgh.pa.us> (raw)
In-Reply-To: <478DAC1D.3010909@commandprompt.com>
References: <5a9699850801152257g6ee9513i6c4fc88a5f20a785@mail.gmail.com>
<478DAC1D.3010909@commandprompt.com>
"Joshua D. Drake" <jd@commandprompt.com> writes:
> Brian Modra wrote:
>> If tar reports that a file was modified while it was being archived,
>> does that mean that the file was archived correctly, or is it corrupted
>> in the archive?
> You can not use tar to backup postgresql if it is running.
You can use it for a PITR base backup --- WAL replay will fix any
inconsistencies. In that context it's just annoying that some tar
versions complain about this.
> http://www.postgresql.org/docs/8.2/static/backup.html
Yah. Note that sections 23.2 and 23.3.32 are talking about entirely
different scenarios. In the former case such a warning is scary,
in the latter not.
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, jd@commandprompt.com, epailty@googlemail.com
Subject: Re: Backup of live database
In-Reply-To: <19155.1200467468@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