Re: Hot Backup using WAL files

From: "Simon Riggs" <simon(at)2ndquadrant(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Damian Lubosch" <dl(at)xiqit(dot)de>, <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Hot Backup using WAL files
Date: 2007-04-07 22:33:37
Message-ID: 1175985217.3623.599.camel@silverbirch.site
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Wed, 2007-04-04 at 11:07 -0400, Tom Lane wrote:
> Damian Lubosch <dl(at)xiqit(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Karthikeyan Sundaram 2007-04-08 19:47:42 Question on pgpsql function
Previous Message Dan Harris 2007-04-07 21:32:17 Re: Can't restore a pg_dump due to encoding errors