• 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 -R with pg_basebackup from the secondary will automatically keep both primary and secondary in sync.

    Edited by Stan Hu
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment