Backup & Recovery
Backup and recovery of Omni data — database, storage, and restore procedures.
Regular backups are essential to protect financial data.
What to back up
Section titled “What to back up”- PostgreSQL database — transactional data.
- Object storage (S3/SeaweedFS) — files/documents.
- Redis — cache (rebuildable).
Database backup
Section titled “Database backup”Use PostgreSQL tools (pg_dump) or a managed backup solution. Example:
pg_dump -U omni_app omni_db > backup_$(date +%F).sqlRecovery (restore)
Section titled “Recovery (restore)”Test your restore procedure regularly. Ensure you have:
- Valid database snapshots.
- A documented, tested procedure.
- Agreed RTO/RPO.
Notes
- Enable data retention & soft-delete per policy (Settings → data retention).
- Store backups in a separate (off-site) location.