pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Guillaume Lelarge <guillaume@lelarge.info>
To: Rural Hunter <ruralhunter@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Backup Question for Point-in-Time Recovery
Date: Sat, 10 Sep 2011 19:30:48 +0200
Message-ID: <1315675848.15665.11.camel@localhost.localdomain> (raw)
In-Reply-To: <4E6B9C2E.1060601@gmail.com>
References: <4E6B9C2E.1060601@gmail.com>

On Sun, 2011-09-11 at 01:19 +0800, Rural Hunter wrote:
> I'm making a base backup with 9.1rc by following 24.3.3 in manual: 
> http://www.postgresql.org/docs/9.1/static/continuous-archiving.html
> 1. SELECT pg_start_backup('label');
> 2. perform file system backup with tar
> 3. SELECT pg_stop_backup();
> 
> But when I was performing step 2, I got warning from tar command that 
> file was changed when tar was reading file on some files such as 
> 'postgres/base/16405/5659097'.  Will I get a good backup in this case?
> 

Yes. But note that you can use pg_basebackup in 9.1. It does everything
needed to have a complete file backup.


-- 
Guillaume
  http://blog.guillaume.lelarge.info
  http://www.dalibo.com




view thread (3+ messages)  latest in thread

Message-ID: <1315675848.15665.11.camel@localhost.localdomain>
Permalink:  ../1315675848.15665.11.camel@localhost.localdomain/
Also on:    postgresql.org/message-id/1315675848.15665.11.camel@localhost.localdomain

 · 

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: guillaume@lelarge.info, ruralhunter@gmail.com
  Subject: Re: Backup Question for Point-in-Time Recovery
  In-Reply-To: <1315675848.15665.11.camel@localhost.localdomain>

* 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