pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua D. Drake <jd@commandprompt.com>
To: Brian Modra <epailty@googlemail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Backup of live database
Date: Tue, 15 Jan 2008 23:02:53 -0800
Message-ID: <478DAC1D.3010909@commandprompt.com> (raw)
In-Reply-To: <5a9699850801152257g6ee9513i6c4fc88a5f20a785@mail.gmail.com>
References: <5a9699850801152257g6ee9513i6c4fc88a5f20a785@mail.gmail.com>

Brian Modra wrote:
> Hi,
> 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?
> Does tar take a snapshot of the file so that even if it is modified, at 
> least the archive is safe?

You can not use tar to backup postgresql if it is running.

http://www.postgresql.org/docs/8.2/static/backup.html

Sincerely,

Joshua D. Drake

> Thanks
> 
> -- 
> Brian Modra   Land line: +27 23 5411 462
> Mobile: +27 79 183 8059
> 6 Jan Louw Str, Prince Albert, 6930
> Postal: P.O. Box 2, Prince Albert 6930
> South Africa




view thread (18+ messages)  latest in thread

Message-ID: <478DAC1D.3010909@commandprompt.com>
Permalink:  ../478DAC1D.3010909@commandprompt.com/
Also on:    postgresql.org/message-id/478DAC1D.3010909@commandprompt.com

 · 

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-admin@postgresql.org
  Cc: jd@commandprompt.com, epailty@googlemail.com
  Subject: Re: Backup of live database
  In-Reply-To: <478DAC1D.3010909@commandprompt.com>

* 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