pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeff Frost <jeff@frostconsultingllc.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: files to ignore during pitr base backup
Date: Tue, 25 Oct 2005 14:09:25 -0400
Message-ID: <18695.1130263765@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.64.0510250842410.17611@discord.dyndns.org>
References: <Pine.LNX.4.64.0510250842410.17611@discord.dyndns.org>

Jeff Frost <jeff@frostconsultingllc.com> writes:
> I noticed recently that my PITR base backups were occassionally returning 
> non-zero, so I turned up the verbosity on rsync and it appears that 
> occassionally a file vanishes out from under rsync while it's doing the base 
> backup:
> ...
> Would it be ok to just exclude the pg_internal.init file since it disappeared
> during the base backup?

It's safe to exclude those, but those are hardly the only files that
might "disappear" in a live database.  It'd be better to use a dump
tool that's less picky about the source data changing under it.  We've
had similar reports about GNU tar being too smart for this purpose :-(

			regards, tom lane



view thread (4+ messages)  latest in thread

Message-ID: <18695.1130263765@sss.pgh.pa.us>
Permalink:  ../18695.1130263765@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18695.1130263765@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, jeff@frostconsultingllc.com
  Subject: Re: files to ignore during pitr base backup
  In-Reply-To: <18695.1130263765@sss.pgh.pa.us>
  References: <Pine.LNX.4.64.0510250842410.17611@discord.dyndns.org> <18695.1130263765@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