Backups and Restore

Each stack has its own Postgres backup stream.

Required backup posture

  • nightly scheduled backups
  • mandatory pre-migration backup before deploy
  • off-VM object storage target
  • encryption before upload

Restore sequence (high level)

  1. enable maintenance mode
  2. stop app containers (keep Postgres available)
  3. fetch encrypted backup artifact
  4. decrypt and restore in Postgres
  5. start app containers
  6. verify health
  7. disable maintenance mode

Operational requirement

Do not treat backups as valid until restore is tested in a controlled environment.