[T01] local offsite restic: snapshot+restore verified, temporary single-host
This commit is contained in:
1 parent
6da479a32a
commit
f4cc40a96e
2 files changed
+43
No files matched your search
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"task_id": "T01",
|
||||
"status": "ok",
|
||||
"facts": [
|
||||
{"source": "restic init/backup /mnt/archive/restic-repo", "value": "snapshot 82125bd5, 2580 files, 86.654 MiB, 2026-12-02T20:04:32+03:00", "observed_at": "2026-12-02T20:04:32+03:00"},
|
||||
{"source": "restic restore dimensions/offsite script", "value": "sha256 match true", "observed_at": "2026-12-02T20:04:49+03:00"},
|
||||
{"source": "offsite cron", "value": "/etc/cron.d/hub-offsite-local daily 04:00 -> /mnt/archive/restic-repo", "observed_at": "2026-12-02T20:05:00+03:00"},
|
||||
{"source": "old remote offsite", "value": "sftp:[email protected]:/backup/restic-repo still unreachable; replaced temporarily", "observed_at": "2026-12-02T20:04:00+03:00"}
|
||||
],
|
||||
"hypotheses": [
|
||||
{"claim": "local /mnt/archive is a separate physical disk but same host", "why_unverified": "true offsite requires another host/disk failure domain", "how_to_verify": "move to remote target in Phase B"}
|
||||
],
|
||||
"actions": [
|
||||
{"action": "init local restic repo on /mnt/archive", "reversibility": "R", "approval": "owner chose local offsite", "result": "ok"},
|
||||
{"action": "backup critical paths", "reversibility": "R", "approval": "owner chose local offsite", "result": "snapshot 82125bd5"},
|
||||
{"action": "restore + hash", "reversibility": "R", "approval": null, "result": "match true"},
|
||||
{"action": "switch offsite scripts/cron to local", "reversibility": "RR", "approval": "owner chose local offsite", "result": "done"}
|
||||
],
|
||||
"artifacts": [
|
||||
"docs/architecture/evidence/T01/snapshots.txt",
|
||||
"docs/architecture/evidence/T01/restore.log",
|
||||
"docs/architecture/evidence/T01/local-restic-restore.log",
|
||||
"docs/architecture/evidence/T01/T01-report.json"
|
||||
],
|
||||
"acceptance_check": [
|
||||
{"criterion": "second copy exists, latest <=48h", "met": true, "proof": "local restic snapshot 82125bd5 at 20:04"},
|
||||
{"criterion": "restore one file with hash match", "met": true, "proof": "match true"},
|
||||
{"criterion": "offsite is separate failure domain", "met": false, "proof": "local /mnt/archive is separate disk but same pve host; accepted temporary"}
|
||||
],
|
||||
"metrics_delta": {"backup_age_hours": {"before": null, "after": 0}, "restore_match": {"before": null, "after": 1}},
|
||||
"decision": "T01 closed with local offsite caveat; migrate to remote in Phase B.",
|
||||
"next": "T02 Tier-0 DSN/WAL/secret key; do not start Stage 4.",
|
||||
"rollback_ready": true,
|
||||
"stop_line_triggered": null,
|
||||
"confidence": "high"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
repository=/mnt/archive/restic-repo
|
||||
snapshot=82125bd5
|
||||
restored=/tmp/T01-local/opt/buryan-hub/scripts/offsite-backup.sh
|
||||
source_sha256=2474693df9d1655ba0655462c79675a02636995df3c3ee31acad028ace60999f
|
||||
restored_sha256=2474693df9d1655ba0655462c79675a02636995df3c3ee31acad028ace60999f
|
||||
match=true
|
||||
observed_at=2026-12-02T20:04:49+03:00
|
||||
Reference in new issue
Block a user