Architecture and disaster-recovery doc #11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "change/architecture-doc"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Plan (change mode)
What and why. The user asked for one doc of the whole setup beyond the stacks: machines, disks, the
StorageBox, the rclone remotes (one is encrypted), where configs and keys live, and a recovery use case:
/mnt/datais lost, restore with rclone. The facts came from the user (2026-11-05: the laptop isthodkatz-x1, not the NixOS host;/mnt/backupis a second disk on it) and fromvps/rclone/diagnose.sh's log.Files.
docs/guides/architecture-and-recovery.md(new): machines and disks, StorageBox layout, rclone remotes andkeys, backup flows and their gaps, the
/mnt/datarestore.AGENTS.md: a Read on demand row; the track's Current work line removed (its only unit).docs/README.md: an index row.BACKLOG.md: Next item to copy the crypt keys and LUKS header backup off the laptop (waits on the user);the backup redesign item now names the gaps it must close.
Check. The Setup check passes (caddy validate + upstreams:
check=0);sync-agents.py --checkexits 0;every path the guide names exists in the tree or is quoted from
backup/sync.sh/ the diagnostic log.Rules removed or rewritten (
AGENTS.md): none; one Read on demand row added, the finished track'sCurrent work line dropped.
Nothing to deploy. The restore steps were not run (no rclone, LUKS disk or StorageBox access here).
Status: ready for the local review round.
🤖 Generated with Claude Code
WIP: Architecture and disaster-recovery docto Architecture and disaster-recovery docLocal review round (correctness, methodology)
Correctness:
secret:'s underlying remote unknown (own sftp remote orbackup_vps:via the VPS mount); step 3 assumed one.sudo,mkdir -p,chown..minio.sys, hashing over sftp)./mnt/backupholds only documents, archived, selfhosted/services..env/data/row overstatedsetup.sh, missed Plane'sbackup.sh.sync.shis not purely "outwards".Methodology:
10. medium: BACKLOG's "from the same diagnosis" now pointed at the new item.
11. medium: "Run it again once step 5 passes" contradicted
backup/README.md(don't run).12. low:
AGENTS.mdandbackup/README.mddescribedsync.shas the host's.13. low: guide's "only copy" goes stale once keys are copied; the backlog item should say it rewrites the guide.
14. low: memory
storage-and-keys-layoutto delete after merge.Replies
1–9: fixed in
650a2df(1: both cases stated, user asked to record which; handoff names it).10–13: fixed in
650a2df.14: done after the merge (agent memory, outside the repo).
Checks: sign-off branch check: clean;
sync-agents.py --check: exit 0; Setup check: exit 0