Backup & Disaster Recovery Policy
How Oceum protects data through daily automated backups and plans recovery from service disruptions.
1. Database Backups
- Provider: Supabase Postgres (AWS us-west-2, Oregon)
- Backup Type: daily automated backups (Supabase)
- Retention: 7 days
- Granularity: restore to the most recent daily backup
- Encryption: Backups encrypted at rest with AES-256
2. Recovery Objectives
| Metric | Target | Details |
|---|---|---|
| RTO | 4 hours | Restore the database to a new instance from the most recent daily backup |
| RPO | Up to 24 hours | Daily backups: data written since the last backup, up to 24 hours, can be lost |
| Degraded Mode | Automatic | Static pages remain available via Vercel edge cache during database outage |
3. Application Recovery
- Compute: Vercel serverless functions in the iad1 region (Washington, D.C.); static pages are served from Vercel's edge network.
- Code: All source is in private GitHub repositories; CI runs the test suite on every push and pull request to the main branch.
- Secrets: Vercel environment variables, not stored in code. Rotation documented in key management policy.
- DNS: Vercel-managed with automatic failover.
4. Monitoring & Detection
- Uptime Health: when the Uptime agent runs in smart or autonomous mode, a job every 15 minutes checks that the core API endpoints answer and how fast.
- Watchdog: Cron job every 5 minutes for critical path verification.
- Alerting: Telegram and Slack notifications within 60 seconds of detected failure.
- Error Tracking: Sentry with environment-based sampling for real-time exception monitoring.
5. Incident Classification (for DR)
| Severity | Description | Response |
|---|---|---|
| P1 (Critical) | Full platform unavailable: database down, Vercel outage | Immediate: RTO applies |
| P2 (Major) | Partial degradation: single agent failures, integration timeouts | 1 hour |
| P3 (Minor) | Performance degradation: elevated latency, non-critical cron failures | Next business day |
6. Testing
- Frequency: at least once a year. No DR drill has been recorded yet.
- Scope: Database restore to staging environment, full API verification, agent health check.
- Documentation: each drill is to be recorded with its results.
7. Data Redundancy
- Database: Supabase manages the database in AWS us-west-2 (Oregon).
- Static Assets: Vercel CDN, cached at 100+ edge locations globally.
- Logs: Retained per organization plan (7 days free, 90 days pro/enterprise).
8. Contact
For DR-related questions, contact jo@oceum.ai.