Return to main site
- Perform a full db backup on the DR DB using postgres tool: https://www.postgresql.org/docs/current/backup.html.
- Stop application services on the primary.
- Unregister primary and standby db from the cluster.
- Register primary the same way as in Configure REPMGR – Primary Node
- Restore the DB using the backup from the DR.
- Register standby the same way as in Configure REPMGR – Replica Node