pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Pallav Kalva <pkalva@deg.cc>
Cc: pgsql-admin@postgresql.org
Subject: Re: Postges 8.0.2 Online backup Errors!
Date: Fri, 29 Apr 2005 13:04:19 -0400
Message-ID: <6852.1114794259@sss.pgh.pa.us> (raw)
In-Reply-To: <42724333.3060708@deg.cc>
References: <42724333.3060708@deg.cc>

Pallav Kalva <pkalva@deg.cc> writes:
> bash-2.05b$ ./backup.sh b
> 17/8E3DA9F0
> tar: tabledata/165899758/165958430: file changed as we read it
> tar: Error exit delayed from previous errors
> 17/8E8CB0A8
> bash-2.05b$

You may need to use a stupider version of tar that doesn't consider that
an error condition.  (Offhand I see nothing in the gnu tar man page
about suppressing this error check :-()  Perhaps cpio would do instead?

The problem is not that you have an unusable backup, it is that if your
script ignores error exits from tar, you won't be able to detect real
problems.

			regards, tom lane



view thread (3+ messages)

Message-ID: <6852.1114794259@sss.pgh.pa.us>
Permalink:  ../6852.1114794259@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/6852.1114794259@sss.pgh.pa.us

 · 

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 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, pkalva@deg.cc
  Subject: Re: Postges 8.0.2 Online backup Errors!
  In-Reply-To: <6852.1114794259@sss.pgh.pa.us>
  References: <42724333.3060708@deg.cc> <6852.1114794259@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