PITR based recovery in a primary/standby cluster setup

Поиск
Список
Период
Сортировка
От Abhijit Gharami
Тема PITR based recovery in a primary/standby cluster setup
Дата
Msg-id CAA5_DuBNyGuF7rFW+Me=VewfhQokTqsbdwds=hC_4Pqrgo6iqQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: PITR based recovery in a primary/standby cluster setup  (Frank Alberto Rodriguez <franknigth@gmail.com>)
Список pgsql-general
Hi,

We have primary and standby PostgreSQL cluster setup and also we have PITR enabled on it. To improve the recovery time we are thinking of recovering the database to both primary and standby at the same time.

These are the steps we are following:
  1. Restore the base backup to the both primary and standby server 
  2. Replay the WAL files on both primary and standby and once the recovery target is reached stop the servers 
  3. Start one of the server as Primary and other one as standby


We have followed the above steps but when we are trying to start the servers as primary and standby we are having replication issues.

Could you please suggest what should be done here so that we can recover the database in both primary as well as in  standby server?

We are using PostgrerSQL version: 9.6.12 and for PITR we are using WAL-E.

Regards,
Abhijit

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

Предыдущее
От: Ron
Дата:
Сообщение: Re: Loading table with indexed jsonb field is stalling
Следующее
От: Daulat Ram
Дата:
Сообщение: no matching entries in passwd file