From: Simon Riggs <simon@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Damian Lubosch <dl@xiqit.de>
Cc: pgsql-admin@postgresql.org
Subject: Re: Hot Backup using WAL files
Date: Sat, 07 Apr 2007 23:33:37 +0100
Message-ID: <1175985217.3623.599.camel@silverbirch.site> (raw)
In-Reply-To: <21861.1175699275@sss.pgh.pa.us>
References: <ev0al8$n8o$1@sea.gmane.org>
<21861.1175699275@sss.pgh.pa.us>
On Wed, 2007-04-04 at 11:07 -0400, Tom Lane wrote:
> Damian Lubosch <dl@xiqit.de> writes:
> > My problem now is, how to continually feed the slave server with new
> > received WAL files?
>
> You need to make the restore_command script wait until the next WAL file
> is available, instead of failing immediately.
>
> This is actually not that simple to get right. You might want to try
> pg_standby which will ship with 8.3:
> http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/pg_standby/
Thanks Tom.
pg_standby will be back compatible with 8.2 also, though isn't available
as part of the 8.2 distribution. The README will contain information for
both 8.2 and 8.3 releases, since there will be one minor difference.
--
Simon Riggs
EnterpriseDB http://www.enterprisedb.com
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: simon@2ndquadrant.com, tgl@sss.pgh.pa.us, dl@xiqit.de
Subject: Re: Hot Backup using WAL files
In-Reply-To: <1175985217.3623.599.camel@silverbirch.site>
* 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