Later: Encrypted Convex backups to Instabox with scheduled VM snapshots#141
Deferred by Screen. Do not create a VM, transfer production data, schedule jobs or purchase a subscription as part of the current launch checks.
Use GitHub Actions to trigger encrypted production Convex exports and store them privately on an Instabox VM. Keep Convex serving the app and preserve the existing user JSON backup downloads.
Proposed implementation:
- Export the explicitly verified production deployment every 12 hours, including file storage.
- Encrypt on the temporary CI runner using a public recipient key before uploading. Keep the private recovery key outside GitHub and the VM in owner-controlled secure storage.
- Wake a dedicated Instabox VM and upload only the encrypted archive under /data/relay-backups. Do not publish a backup download port or upload production archives as public GitHub artifacts.
- Verify archive hashes, then take a complete VM snapshot. Account for snapshots potentially stopping the machine.
- Retain seven days of archives within the actual disk quota. Rotate up to four completed snapshots, leaving room for the next one, without deleting the last known-good recovery copy before the replacement is verified.
- Add failure alerts and an independent stale-backup check. GitHub schedule delays, dropped jobs and public-repository inactivity disablement must be covered.
- Restore an encrypted archive and a VM snapshot into isolated targets and verify representative data. Never rehearse against production.
- Recheck current Instabox quotas, storage, egress and pricing before implementation. Stay within existing free allowances; paid changes require a separate owner decision.
The approved recovery targets remain at most 24 hours of data loss and a four-hour restore. A best-effort schedule alone does not prove those targets.
Current manual snapshot restore evidence and the remaining monitoring/secret-recovery work stay in #97. Deferring this implementation does not mark production recovery complete.
References: docs/operations/recovery.md, docs/operations/launch-verification-2026-10-26.md, https://instabox.sh/docs/snapshots, https://instabox.sh/docs/limits.md.