Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 1068F9FA31D for ; Mon, 16 Jul 2007 07:05:23 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 96765-02 for ; Mon, 16 Jul 2007 07:05:09 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from gauss.credativ.com (gauss.credativ.com [212.112.227.254]) by postgresql.org (Postfix) with ESMTP id 6886A9FA4B4 for ; Mon, 16 Jul 2007 07:05:22 -0300 (ADT) Received: from hawking.credativ.lan (exit.credativ.com [87.139.82.80]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gauss.credativ.com (Postfix) with ESMTP id C698F784BF for ; Mon, 16 Jul 2007 12:03:39 +0200 (CEST) From: Peter Eisentraut To: pgsql-docs@postgresql.org Subject: Re: GNU tar and PITR Date: Mon, 16 Jul 2007 12:05:10 +0200 User-Agent: KMail/1.9.5 References: <200707161201.13302.peter_e@gmx.net> In-Reply-To: <200707161201.13302.peter_e@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200707161205.10972.peter_e@gmx.net> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200707/6 X-Sequence-Number: 4333 Am Montag, 16. Juli 2007 12:01 schrieb Peter Eisentraut: > http://developer.postgresql.org/pgdocs/postgres/continuous-archiving.html > says: > > """ > Also, some versions of GNU tar consider it an error if a file is changed > while tar is copying it. There does not seem to be any very convenient way > to distinguish this error from other types of errors, other than manual > inspection of tar's messages. GNU tar is therefore not the best tool for > making base backups. > """ > > However, GNU tar returns 2 for a real error and 1 for the file changed > case. Isn't that sufficient? Ah ... """ version 1.16 - Sergey Poznyakoff, 2006-10-21 * After creating an archive, tar exits with code 1 if some files were changed while being read. Previous versions exited with code 2 (fatal error), and only if some files were truncated while being archived. """ We should update the documentation. -- Peter Eisentraut http://developer.postgresql.org/~petere/