Commit Graph
1 Commits
Author SHA1 Message Date
sneak 7f3fb97012 Exit 3 when a backup or restore finished but skipped files (closes #439)
check / check (push) Waiting to run
A `snapshot create` or `snapshot restore` that --skip-errors made skip
files now exits 3, the status `restic backup` uses, so a cron job can
tell it from a run that made no backup (1). RunOperation keeps the
operation's error inside errReported so Entry can pick the status.

A run that skipped files and also found a configured path empty, missed
a mount point, or was asked for a path the snapshot lacks still exits 1:
its error wraps only that condition and names the skipped files in text.

The README gains an exit status section.

Model: opus-5-5
2026-11-19 06:38:41 +00:00