Back up
Back up all of the following as one recovery set:- PostgreSQL, including deployment and audit tables;
- MinIO attachment volumes;
- the
casebender_secretvolume or externally managed license secret; .env, externally managed encryption keys, and the exactAUDIT_INTEGRITY_SECRETused by the restored audit database;- custom TLS trust and integration configuration; and
- the exact pinned image manifest and Compose release.
AUDIT_INTEGRITY_SECRET independently of PostgreSQL
breaks verification of existing chained audit records.
Restore rehearsal
At least quarterly:- provision an isolated recovery network;
- restore the database, object storage,
.env, and encryption material; - start the same pinned CaseBender version;
- run
./casebender preflight; - verify users, organizations, cases, attachments, API-key status, and audit chain integrity;
- record actual recovery point and recovery time.