[GENERAL] Associating a basebackup and it's .backup WAL file

Поиск
Список
Период
Сортировка
От cen
Тема [GENERAL] Associating a basebackup and it's .backup WAL file
Дата
Msg-id 67218b56-850f-ddca-f507-b0f140839a4a@gmail.com
обсуждение исходный текст
Ответы Re: [GENERAL] Associating a basebackup and it's .backup WAL file
Список pgsql-general
Hi

Given a basebackup base.tar.gz and an archive of WAL files, is there any
way to find out which .backup WAL file is associated with the basebackup
from command line?

My use case is for a retention policy bash script which:

-deletes all basebackups older than X days

-runs pg_archivecleanup for the oldest basebackup

I just don't know how to find out which WAL to feed to pg_archivecleanup
at this point.



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [GENERAL] Monitoring of a hot standby with a largely idle master
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: [GENERAL] Associating a basebackup and it's .backup WAL file