Idea
Encrypt backups at rest and offsite, and implement offsite retention.
Why
Backups are plaintext SQL/dumps of full production data; offsite sync passes no SSE flags and there's no client-side encryption. BACKUP_OFFSITE_RETENTION_DAYS is documented and printed but no code prunes remote objects (unbounded cost).
Scope
- Optional age/gpg client-side encryption for local + offsite artifacts.
- SSE flags on
aws s3/b2 uploads; post-upload checksum verification.
- Implement offsite retention pruning.
Acceptance
Backups can be encrypted at rest and offsite; offsite retention actually deletes aged remote objects; uploads are integrity-checked.
Filed from the 2026-07-03 full-codebase audit (docs/AUDIT-2026-07.md).
Idea
Encrypt backups at rest and offsite, and implement offsite retention.
Why
Backups are plaintext SQL/dumps of full production data; offsite sync passes no SSE flags and there's no client-side encryption.
BACKUP_OFFSITE_RETENTION_DAYSis documented and printed but no code prunes remote objects (unbounded cost).Scope
aws s3/b2 uploads; post-upload checksum verification.Acceptance
Backups can be encrypted at rest and offsite; offsite retention actually deletes aged remote objects; uploads are integrity-checked.
Filed from the 2026-07-03 full-codebase audit (docs/AUDIT-2026-07.md).