Skip to content

Backup and Restore

SamsterZero edited this page Aug 11, 2026 · 2 revisions

Backup and Restore

Back up both named volumes as one recovery set:

  • pgdata contains products, settings, price history, jobs, and notification state.
  • prizen_secrets contains the encryption key, tracker token, and database password.

Losing prizen_secrets makes encrypted notification and Amazon Creators API credentials unrecoverable. Restoring a database with a different secrets volume can also make credentials unreadable.

Stop writes or stop the stack before taking a filesystem-level volume backup. Test restores using an isolated Compose project before relying on them.

When scripts/backup-release.sh finishes successfully, it records a local maintenance marker used by the Operations-Dashboard to assess backup freshness. Backups created by other tools are not visible there. After restoring, create a new verified backup to refresh the marker.

Clone this wiki locally