The staging database rebuilds have been disabled since we moved the authdb replication set master to a seperate database. Previously, the same database was the master for both of our replication sets. With the change, replication set masters are on different databases. With Slony, backups of slave databases contain good data but have a broken schema so doing a plain pg_restore no longer works.
This branch updates the staging database rebuild procedure to repair the authdb replication set schema from a known good source, taken from the production authdb replication set master.
Fix staging database restores.
The staging database rebuilds have been disabled since we moved the authdb replication set master to a seperate database. Previously, the same database was the master for both of our replication sets. With the change, replication set masters are on different databases. With Slony, backups of slave databases contain good data but have a broken schema so doing a plain pg_restore no longer works.
This branch updates the staging database rebuild procedure to repair the authdb replication set schema from a known good source, taken from the production authdb replication set master.