Search Postgresql Archives

PITR based recovery in a primary/standby cluster setup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux