feat(lab-health): alert on stale backups (backup step 10) #45
No reviewers
Labels
No labels
lab-honing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
adam/foundry!45
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/scan-backup-checks"
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?
Backup step 10, the last one:
scan.pynow warns when a backup goes stale. Step 0 (backups) is complete.New checks in the
backupsgroup:backup.dumps: readsdumps/latest/STATUSover SSH. Flagsfailures != none, and age > 26 h (amber) / > 50 h (red).backup.ha: the newest*.tarinbackups/homeassistant, with the same age limits. Red if there are none.backup.snapshot: BackrestGetOperationsAPI for planfoundry(basic auth with thebackrest_ui_*creds already in 1Password). Flags the newest backup if it failed, and the age of the last success.backup.flash: the git copy of the flash drive drops to info, because/boot/configis already in every nightly snapshot.Each part reports on its own, so if SSH fails the snapshot check still runs, and vice versa.
Tested: all green on live state (1.6 s). Mutation runs fire every path: tiny threshold → amber dump, missing HA dir → red, wrong plan → red, missing STATUS → red, bad password → amber
scan.backups.Docs: lab-health skill table + triage rows,
backups.mdstep 10 ✅, andrebuild.mdwith step 0 ✅ and NEXT = step 1 (lane rule).🤖 Generated with Claude Code