Commit Graph

3 Commits

Author SHA1 Message Date
c8ba2e4e2b fix(backup): reimport postgres dump on restore (restore was a no-op)
The db service dumped the DB on backup (pg_dump pre-hook) but shipped no
restore hook, and a file-level restore does not reload into the running
postgres, so a restored backup silently kept the live (un-restored) state.
Add pg_backup.sh (backup=pg_dump|gzip into the postgresql_data volume;
restore=terminate conns + DROP DATABASE WITH FORCE + createdb + reimport),
mount it via a config, and wire the backupbot backup/restore hooks. Same
fix as the immich / mattermost-lts / ghost recipes.
2026-05-30 14:45:20 +00:00
41f7c0089e feat: set notification e-mail 2022-11-22 15:58:04 +01:00
3wc
56112f9456 Add example .env
[ci skip]
2021-07-25 16:30:55 +02:00