Skip to content

Backups and restore

Every safe update creates a compressed Postgres backup before pulling or running new app images.

Backups are written under:

.shop/backups/

The updater prints the exact backup path during each run.

Terminal window
vp run release:update -- \
--restore .shop/backups/shop-2026-07-07T12-00-00-000Z.dump

Restore stops API/web, restores the database with pg_restore, starts the services again, and re-runs health checks.

  • Keep backups off the application host for disaster recovery.
  • Test restores before relying on them.
  • Treat backup files as sensitive; they contain customer and order data.
  • Do not expose restore through normal admin MCP.