Skip to content
  • This is a useful script that I used in https://gitlab.com/gitlab-org/gitlab/-/issues/346427#note_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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment