Backup and restore procedure #19

Open
opened 2026-10-10 22:18:29 +00:00 by keith · 1 comment
Owner

The spec requires backup and restore with standard tooling only.

Scope

  • pg_dump and pg_restore procedure for metadata
  • Filesystem copy procedure for the managed library directory
  • Ordering guidance and how to verify a restore
  • Explicit note that metadata and files must be restored as a consistent pair

Acceptance criteria

  • Documented procedure uses only standard PostgreSQL and filesystem tools
  • Restore verified on a clean environment
  • Consequences of mismatched metadata and files explained

Blocked by: #18

  • Include uploaded media and quiesce writes/workers or use coordinated snapshots so database and files form one consistent backup.
  • Include uploaded media and quiesce writes/workers or use coordinated snapshots so database and files form one consistent backup.
The spec requires backup and restore with standard tooling only. ## Scope - `pg_dump` and `pg_restore` procedure for metadata - Filesystem copy procedure for the managed library directory - Ordering guidance and how to verify a restore - Explicit note that metadata and files must be restored as a consistent pair ## Acceptance criteria - [ ] Documented procedure uses only standard PostgreSQL and filesystem tools - [ ] Restore verified on a clean environment - [ ] Consequences of mismatched metadata and files explained --- Blocked by: #18 - [ ] Include uploaded media and quiesce writes/workers or use coordinated snapshots so database and files form one consistent backup. - [ ] Include uploaded media and quiesce writes/workers or use coordinated snapshots so database and files form one consistent backup.
keith added this to the M2 - Data Model & Migrations milestone 2026-10-10 22:18:29 +00:00
keith added the type:docspriority:mediumarea:db labels 2026-10-10 22:18:29 +00:00
Author
Owner

Acceptance reconciliation at c1ef2ee: keeping open. Backup intent is documented, but executable coordinated DB/library/media backup and clean-environment restore drill are missing. This is a source/test review, not a newly executed crash or restore experiment. Fresh Windows suite: 291 tests, 1801 assertions, 22 skips; lint passes. PostgreSQL fixture success does not waive these feature criteria.

Acceptance reconciliation at c1ef2ee: keeping open. Backup intent is documented, but executable coordinated DB/library/media backup and clean-environment restore drill are missing. This is a source/test review, not a newly executed crash or restore experiment. Fresh Windows suite: 291 tests, 1801 assertions, 22 skips; lint passes. PostgreSQL fixture success does not waive these feature criteria.
Sign in to join this conversation.