Files
mattermost-lts/abra.sh
autonomic-bot 4ca7f4182d
All checks were successful
cc-ci/testme cc-ci: success
fix(backup): reimport the postgres dump on restore (restore was a no-op)
The recipe dumped the DB on backup but shipped NO backupbot.restore.post-hook, and
archived the whole live PGDATA dir — so a restore extracted files under the running
postgres without reloading them, silently keeping the un-restored (live) state. A
restored backup therefore lost all data written since the snapshot.

Switch to the coop-cloud /pg_backup.sh convention (as matrix-synapse): backup =
pg_dump|gzip -> backup.sql; restore = terminate connections, FORCE-drop, recreate,
reimport the dump deterministically. Archive just backup.sql, not the whole PGDATA dir.
2026-05-30 00:38:44 +00:00

5 lines
100 B
Bash

export ABRA_MATTERMOST_ENTRYPOINT_VERSION=v2
export BUSYBOX_VERSION=v1
export PG_BACKUP_VERSION=v1