fix(manage): backup status reports the newest full-host snapshot #272
Loading…
Reference in a new issue
No description provided.
Delete branch "jfraeys/fix/backup-status-full-snapshot"
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?
manage backup statusused the newest snapshot of any kind. That is normally the 6-hourly Vaultwarden snapshot (paths under /tmp), so every service showed? not found in snapshotand the FRESH/STALE verdict measured the wrong backup: a fresh Vaultwarden snapshot would hide a stale daily full-host backup.infra(the daily job's tag; also whatrestore_pick_snapshottreats as full-host).vaultwarden-snapshotis shown on its own line (informational).infra-tagged snapshot at all: error, exit 1, names the newest snapshot of any kind.date -jpath read it as local time); an unparsable time reads as stale, never fresh.scripts/tests/test-backup-status.sh(stubbed restic, wired into lint). The existing restore-snapshot and manage-bundle tests still pass.On-host
managegets this only after./infra deploy --tags manage_cli --limit services; the operator-side./manage backup statuspicks it up with agit pull.🤖 Generated with Claude Code
https://claude.ai/code/session_01Ge5tovcwdEUBtPwUktsZZZ