pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-docs@postgresql.org
Subject: Re: GNU tar and PITR
Date: Mon, 16 Jul 2007 12:05:10 +0200
Message-ID: <200707161205.10972.peter_e@gmx.net> (raw)
In-Reply-To: <200707161201.13302.peter_e@gmx.net>
References: <200707161201.13302.peter_e@gmx.net>

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/



view thread (3+ messages)  latest in thread

Message-ID: <200707161205.10972.peter_e@gmx.net>
Permalink:  ../200707161205.10972.peter_e@gmx.net/
Also on:    postgresql.org/message-id/200707161205.10972.peter_e@gmx.net

 · 

reply

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-docs@postgresql.org
  Cc: peter_e@gmx.net
  Subject: Re: GNU tar and PITR
  In-Reply-To: <200707161205.10972.peter_e@gmx.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