Files
photoanalyzer/delivery_backlog/stories/US07-05-backup-operations.md

25 lines
958 B
Markdown

# US07-05 — Deliver Backup and Operational Recovery
Epic: [E07](../E07-hardening-release.md)
As an operator, I want documented and tested backup/recovery procedures so application
state can be restored after migration failure, database damage, or storage loss.
## Acceptance criteria
- Online backup includes database consistency, required manifests, configuration
references, and retention guidance without copying secrets into logs.
- Integrity checks, migration rollback/recovery, archive media handling, and restore
drills have step-by-step documentation.
- Operational diagnostics report DB/WAL/cache/log/thumbnail sizes and low-disk risks.
- Legacy-process locking prevents incompatible simultaneous mutations.
## Automated tests
- Recovery drills restore backups into fresh roots and run integrity/reconciliation.
- Tests cover failed migration, corrupt copy detection, retention, and process locking.
## Dependencies
- US07-01, US07-04