-
This is a useful script that I used in gitlab-org/gitlab#346427 (comment 745612725). I would modify it to use replication slots, since using
-Rwithpg_basebackupfrom the secondary will automatically keep both primary and secondary in sync.Edited by Stan Hu
Please register or sign in to comment