Encrypted database backup #162

Open
opened 2026-11-27 16:44:16 -05:00 by bobby · 0 comments
Owner

Part of #73 (spec: #72)

What to build

hapi db backup runs pg_dump -Fc as hapi_backup, verifies it with pg_restore --list, encrypts it to a backup-only age recipient, and uploads it to Object Storage (faked in tests).

Acceptance criteria

  • A test produces an encrypted, uploaded dump
  • A corrupt dump fails the TOC check and isn't uploaded
Part of #73 (spec: #72) ## What to build `hapi db backup` runs `pg_dump -Fc` as `hapi_backup`, verifies it with `pg_restore --list`, encrypts it to a backup-only age recipient, and uploads it to Object Storage (faked in tests). ## Acceptance criteria - [ ] A test produces an encrypted, uploaded dump - [ ] A corrupt dump fails the TOC check and isn't uploaded
bobby added the ready-for-agent label 2026-11-27 16:44:16 -05:00
bobby added a new dependency 2026-11-27 16:44:16 -05:00
bobby added a new dependency 2026-11-27 16:44:17 -05:00
bobby added a new dependency 2026-11-27 16:44:17 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: bobby/hapi#162