Re: Backup Question for Point-in-Time Recovery - Mailing list pgsql-admin

From Guillaume Lelarge
Subject Re: Backup Question for Point-in-Time Recovery
Date
Msg-id 1315675848.15665.11.camel@localhost.localdomain
Whole thread Raw
In response to Backup Question for Point-in-Time Recovery  (Rural Hunter <ruralhunter@gmail.com>)
Responses Re: Backup Question for Point-in-Time Recovery
List pgsql-admin
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


pgsql-admin by date:

Previous
From: Rural Hunter
Date:
Subject: Backup Question for Point-in-Time Recovery
Next
From: albert
Date:
Subject: MSAccess migration to Postgres through ODBC