From: Fujii Masao <masao.fujii@gmail.com>
To: mpartio@gmail.com
Cc: pgsql-admin@postgresql.org
Subject: Re: Backup from a hot standby
Date: Mon, 5 Apr 2010 17:34:47 +0900
Message-ID: <u2s3f0b79eb1004050134v969191cbxe40b90b60732c091@mail.gmail.com> (raw)
In-Reply-To: <2ca799771003032247w2799229dy3381798a723d044f@mail.gmail.com>
References: <2ca799771003032247w2799229dy3381798a723d044f@mail.gmail.com>
Sorry for the delay.
On Thu, Mar 4, 2010 at 3:47 PM, Mikko Partio <mpartio@gmail.com> wrote:
> Hi
> I'm currently testing Pg 9.0.0 alpha 4 and the hot standby feature (with
> streaming replication) is working great. I tried to take a filesystem backup
> from a hot standby, but I guess that is not possible since executing "SELECT
> pg_start_backup('ss')" returns an error? Or can I just tar $PGDATA and copy
> the xlog files generated during the backup, since the server is in constant
> recovery mode? In Oracle it is possible to take backups from a data guard
> standby, which is very useful since that way making the backups does not
> stress the master server.
You can take a base backup of the standby while it's in progress, without
calling pg_start_backup() and pg_stop_backup(). Please see the following
document.
http://developer.postgresql.org/pgdocs/postgres/backup-incremental-updated.html
Regards,
--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center
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: masao.fujii@gmail.com, mpartio@gmail.com
Subject: Re: Backup from a hot standby
In-Reply-To: <u2s3f0b79eb1004050134v969191cbxe40b90b60732c091@mail.gmail.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