diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-25 09:10:38 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-25 09:10:38 -0400 |
| commit | 3ef8c7a0544f372f0d3c63c8055517e0c64347ec (patch) | |
| tree | 0ca98245dac009854ca92213e106b1ed8b65123b /.shellcheckrc | |
| parent | 195833b9db23fd5e5bfdaf17bfae5849e9958a82 (diff) | |
| download | rsyncshot-3ef8c7a0544f372f0d3c63c8055517e0c64347ec.tar.gz rsyncshot-3ef8c7a0544f372f0d3c63c8055517e0c64347ec.zip | |
fix: graceful remote skip, quieter backups, accurate snapshot counts
A scheduled backup to an unreachable remote now skips (exit 0) instead of erroring, so cron stops logging a failure when the NAS or laptop is offline. Authentication and host-key failures still error loudly, so a genuinely broken backup isn't masked as offline.
The actual backup drops rsync -v for --info=stats1, so the logfile gets a per-run summary instead of every transferred file path. The dryrun stays verbose.
list and status no longer count the latest/ working directory as a snapshot.
Snapshot directories are now read-only beyond the top level (find -type d). Only directories are touched, never the hard-linked files, so permissions don't ripple across snapshots.
Previously-unchecked rotation steps (orphan cleanup, the latest/ touch, the read-only chmod) now warn instead of failing silently. The remote snapshot listing falls back to BSD stat when GNU stat isn't available.
Diffstat (limited to '.shellcheckrc')
0 files changed, 0 insertions, 0 deletions
