issue-6-restore-story #17

Merged
parkel merged 2 commits from issue-6-restore-story into master 2026-05-21 02:06:23 +02:00
Owner

Document and surface the manual restore story

This PR makes the pobsync 1.0 restore workflow explicit without adding
automatic restore execution.

Highlights:

  • Adds README guidance for manual restores from snapshot data directories.
  • Shows snapshot-specific restore commands on snapshot detail pages.
  • Includes rsync dry-run, staging restore, remote restore dry-run, directory restore, and single-file restore examples.
  • Explains that snapshots may contain hardlinks and should be treated as read-only.
  • Keeps restore execution manual until the restore story is proven and safe.

Tests:

  • docker compose run --rm web python manage.py test pobsync_backend.tests.test_views.ViewTests.test_snapshot_detail_renders_metadata_runs_and_children -v 2
  • docker compose run --rm web python manage.py test pobsync_backend -v 2
  • Latest full run: 166 tests, OK

Closes #6

Document and surface the manual restore story This PR makes the pobsync 1.0 restore workflow explicit without adding automatic restore execution. Highlights: - Adds README guidance for manual restores from snapshot data directories. - Shows snapshot-specific restore commands on snapshot detail pages. - Includes rsync dry-run, staging restore, remote restore dry-run, directory restore, and single-file restore examples. - Explains that snapshots may contain hardlinks and should be treated as read-only. - Keeps restore execution manual until the restore story is proven and safe. Tests: - docker compose run --rm web python manage.py test pobsync_backend.tests.test_views.ViewTests.test_snapshot_detail_renders_metadata_runs_and_children -v 2 - docker compose run --rm web python manage.py test pobsync_backend -v 2 - Latest full run: 166 tests, OK Closes #6
parkel added 2 commits 2026-05-21 02:06:17 +02:00
Document the manual restore workflow in the README and surface snapshot-
specific restore commands on the snapshot detail page.

The guidance keeps restores intentionally manual for now: inspect the
snapshot data directory, run rsync with --dry-run, restore to staging
first, and treat hardlinked snapshot files as read-only.
Extend the restore guidance with directory and single-file dry-run
examples so operators can restore a focused path without copying an
entire snapshot.

Render the examples on snapshot detail pages using the selected
snapshot's data path and the host-specific staging destination.
parkel merged commit 2d9f453767 into master 2026-05-21 02:06:23 +02:00
parkel deleted branch issue-6-restore-story 2026-05-21 02:06:23 +02:00
Sign in to join this conversation.