Backups Guide
Mobile backups protect offline work and device state. Server-side PostgreSQL backups protect the production database with daily base backups and WAL archiving to S3-compatible storage.
Mobile backup flow
- Device requests an upload session.
- Device uploads encrypted backup data directly to object storage.
- API records checksum, size, device ID, and retention metadata.
- Restore requires a short-lived restore token.
PostgreSQL PITR policy
- Daily
pg_basebackuparchives. - Continuous WAL archiving to S3-compatible storage.
- 30 daily restore points and 12 monthly restore points.
- Monthly restore drill runs in CI.