pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rui DeSousa <rui.desousa@icloud.com>
To: Jerry Sievers <gsievers19@comcast.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_rewind: confused about recovery.conf/restore_command
Date: Fri, 05 Jan 2018 09:55:40 -0500
Message-ID: <6EFCAFA0-3555-4F44-A059-3361586984D4@icloud.com> (raw)
In-Reply-To: <87fu7khohy.fsf@jsievers.enova.com>
References: <87fu7khohy.fsf@jsievers.enova.com>

Hi Jerry,

That has been my experience as well; pg_rewind does not fetch the WAL files.

You can use following parameter to keep the most recent logs; i.e. a couple of hours worth.  That will allow pg_rewind to work during that time frame —  If it is still missing a WAL file or two you can manually copy them over in a pinch.

 wal_keep_segments 


p.s. I switched to using ZFS snapshots instead.=

view thread (3+ messages)  latest in thread

Message-ID: <6EFCAFA0-3555-4F44-A059-3361586984D4@icloud.com>
Permalink:  ../6EFCAFA0-3555-4F44-A059-3361586984D4@icloud.com/
Also on:    postgresql.org/message-id/6EFCAFA0-3555-4F44-A059-3361586984D4@icloud.com

 · 

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: rui.desousa@icloud.com, gsievers19@comcast.net
  Subject: Re: pg_rewind: confused about recovery.conf/restore_command
  In-Reply-To: <6EFCAFA0-3555-4F44-A059-3361586984D4@icloud.com>
  References: <87fu7khohy.fsf@jsievers.enova.com> <6EFCAFA0-3555-4F44-A059-3361586984D4@icloud.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