Restore
Purpose
Section titled “Purpose”Restore service from backups after data loss or when standing up a replica.
Overview
Section titled “Overview”Restore PostgreSQL from the latest dump (or PITR via WAL), restore MinIO objects from the off-site copy, then bring services up in order: migrate → control → web. Verify health and migration version before reopening traffic.
Configuration
Section titled “Configuration”Point DATABASE_URL and MinIO settings at the target environment before
restoring.
Examples
Section titled “Examples”# Restore PostgreSQL from a custom-format dumppg_restore --clean --if-exists --dbname "$DATABASE_URL" get2dial-2026-07-01.dump
# Restore objectsmc mirror --overwrite offsite/get2dial-backup local/get2dial
# Bring the stack updocker compose up -d- Restore into a clean target;
--cleandrops existing objects first. - Validate
/healthzand the migration version before sending traffic.