Re: pg_rewind: confused about recovery.conf/restore_command

Поиск
Список
Период
Сортировка
От Rui DeSousa
Тема Re: pg_rewind: confused about recovery.conf/restore_command
Дата
Msg-id 6EFCAFA0-3555-4F44-A059-3361586984D4@icloud.com
обсуждение исходный текст
Ответ на pg_rewind: confused about recovery.conf/restore_command  (Jerry Sievers <gsievers19@comcast.net>)
Ответы Re: pg_rewind: confused about recovery.conf/restore_command  (Jerry Sievers <gsievers19@comcast.net>)
Список 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.

В списке pgsql-admin по дате отправления:

Предыдущее
От: Jerry Sievers
Дата:
Сообщение: pg_rewind: confused about recovery.conf/restore_command
Следующее
От: Azimuddin Mohammed
Дата:
Сообщение: Postgres HA