[Borgbackup] Can different error codes of individual files be mapped to different results?
Thomas Waldmann
tw at waldmann-edv.de
Wed Sep 8 09:34:15 EDT 2021
I disagree and I won't implement any tedious returncode tweaking mapping
mechanism to solve:
- stuff that can be done by a borg wrapper or borg log analyzer
- bugs in other software, like sshfs suddenly getting empty instead of
yielding errors (which seems to be your root problem)
borg's return codes are simply:
- 0 (all OK)
- 1 (warning - you have to look yourself whether they are serious or not
[often it is an issue with one or a few files], the backup reached its
normal end)
- 2 (error - usually some sudden fatal error and the backup did not
complete to its end)
if you're unhappy with that, write a borg wrapper.
More information about the Borgbackup
mailing list