Backup¶
Production Compose includes a backup profile service.
What it does¶
pg_dumpof PostgreSQL → gzip on thebackup_datavolume- MinIO mirror via
mc(image includes bothpg_dumpandmc) - Retention: 7 days on-volume (
BACKUP_KEEP_DAYS, default 7) - Interval:
BACKUP_INTERVAL_SEC(default 86400)
Enable¶
Remote deploy already starts backup:
One-shot:
Offsite¶
Copy /backups (or the named volume) to object storage / another host regularly. Volume retention alone is not disaster recovery.