pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Simon Riggs <simon@2ndquadrant.com>
To: andy.shellam@mailnetwork.co.uk
Cc: pgsql-admin@postgresql.org
Subject: Re: WAL recovery
Date: Thu, 23 Feb 2006 14:24:22 +0000
Message-ID: <1140704662.8759.121.camel@localhost.localdomain> (raw)
In-Reply-To: <43FC90C9.3090204@mailnetwork.co.uk>
References: <43FC90C9.3090204@mailnetwork.co.uk>

On Wed, 2006-02-22 at 16:26 +0000, Andy Shellam wrote:

> Is this scenario possible - that you can keep rolling forward over log
> files as long as necessary, or do you always have to start from a base
> backup?  Nothing is changing on the spare, it's literally a sitting
> duck.

You'll need a restore_command that is a script that sits in a wait loop
when the file it is asked for is not available yet, or other conditions
have occurred such as notification of switchover (manually or
otherwise). When those conditions occur the script should return a
non-zero error condition.

There should be no recovery_target* settings.

Best Regards, Simon Riggs





view thread (7+ messages)  latest in thread

Message-ID: <1140704662.8759.121.camel@localhost.localdomain>
Permalink:  ../1140704662.8759.121.camel@localhost.localdomain/
Also on:    postgresql.org/message-id/1140704662.8759.121.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: simon@2ndquadrant.com, andy.shellam@mailnetwork.co.uk
  Subject: Re: WAL recovery
  In-Reply-To: <1140704662.8759.121.camel@localhost.localdomain>
  References: <43FC90C9.3090204@mailnetwork.co.uk> <1140704662.8759.121.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