Files
Andreas WredeandClaude Sonnet 5 94e6a2d811 failover: tolerate rsync's benign vanished-file exit code in backup syncs
Both sync-sd-backup.sh and sync-usb-backup.sh used set -e, so rsync
returning exit 24 (partial transfer due to vanished source files --
expected on a live root, e.g. a container's shm socket disappearing
mid-sync) aborted the script before it printed its own success message,
even though the actual file transfer completed fully. Only exit 24 is
now tolerated; any other rsync failure still aborts as before.

Found running sync-sd-backup.sh today: it transferred all 919k files
correctly but exited non-zero and skipped its completion line.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJfEELeh3ercpRBp8yYrYS
2026-08-23 15:55:38 -04:00
..
2026-06-28 15:09:28 -04:00
2026-06-28 15:09:28 -04:00
2026-06-28 15:09:28 -04:00
2026-06-28 15:09:28 -04:00