US07-05 — Deliver Backup and Operational Recovery #42

Closed
opened 2026-07-13 13:10:53 +02:00 by domverse · 3 comments
Owner

Source specification: delivery_backlog/stories/US07-05-backup-operations.md

US07-05 — Deliver Backup and Operational Recovery

Epic: E07

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
Source specification: [delivery_backlog/stories/US07-05-backup-operations.md](https://git.domverse-berlin.eu/domverse/photoanalyzer/src/branch/main/delivery_backlog/stories/US07-05-backup-operations.md) # US07-05 — Deliver Backup and Operational Recovery Epic: [E07](https://git.domverse-berlin.eu/domverse/photoanalyzer/src/branch/main/delivery_backlog/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
domverse added this to the E07 — Hardening and Release milestone 2026-07-13 13:10:53 +02:00
domverse added a new dependency 2026-07-13 13:11:33 +02:00
domverse added a new dependency 2026-07-13 13:11:33 +02:00
domverse added a new dependency 2026-07-13 13:11:35 +02:00
domverse added this to the Photo Analyzer Delivery project 2026-07-13 13:19:48 +02:00
domverse added the status/backlog label 2026-07-13 13:52:57 +02:00
domverse added status/in-progress and removed status/backlog labels 2026-08-17 11:11:52 +02:00
domverse self-assigned this 2026-08-17 11:11:53 +02:00
Author
Owner

Claimed for implementation on branch us/US07-05-deliver-backup-and-operational-recovery.

Claimed for implementation on branch `us/US07-05-deliver-backup-and-operational-recovery`.
domverse added a new dependency 2026-08-17 21:12:18 +02:00
domverse added status/review and removed status/in-progress labels 2026-08-17 21:13:02 +02:00
Author
Owner

Submitted for review: #92

Tests passed:

  • work_item/scripts/python -m unittest discover -s work_item/tests -v
  • work_item/scripts/python -m pytest tests -q
  • work_item/scripts/python -m pytest tests/integration/test_backup_recovery.py tests/integration/test_diagnostics.py -q
Submitted for review: https://git.domverse-berlin.eu/domverse/photoanalyzer/pulls/92 Tests passed: - `work_item/scripts/python -m unittest discover -s work_item/tests -v` - `work_item/scripts/python -m pytest tests -q` - `work_item/scripts/python -m pytest tests/integration/test_backup_recovery.py tests/integration/test_diagnostics.py -q`
domverse added status/done and removed status/review labels 2026-08-17 21:13:25 +02:00
Author
Owner

Completed and merged via PR #92.

Completed and merged via PR #92.
domverse moved this to Done in Photo Analyzer Delivery on 2026-08-17 21:14:43 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: domverse/photoanalyzer#42