Re: pg_rewind: confused about recovery.conf/restore_command

From: Rui DeSousa <rui(dot)desousa(at)icloud(dot)com>
To: Jerry Sievers <gsievers19(at)comcast(dot)net>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_rewind: confused about recovery.conf/restore_command
Date: 2018-01-05 14:55:40
Message-ID: 6EFCAFA0-3555-4F44-A059-3361586984D4@icloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Azimuddin Mohammed 2018-01-05 19:07:10 Postgres HA
Previous Message Jerry Sievers 2018-01-05 05:18:49 pg_rewind: confused about recovery.conf/restore_command