false negative problem when doing borg runs
The following can happen:
[root@backup 2020-07-16]# cat 2020-07-16.00:02:01_apps0.dslab.tuwien.ac.at_var.borg
/var/cache/yum/x86_64/7/epel-emp-fixes_x86_64_el7_public/repomd.xml.old.tmp: stat: [Errno 2] No such file or directory: '/var/cache/yum/x86_64/7/epel-emp-fixes_x86_64_el7_public/repomd.xml.old.tmp'
------------------------------------------------------------------------------
Archive name: daily_2020-07-16_apps0.dslab.tuwien.ac.at_var
Archive fingerprint: 9facdc78c171debb008670f96ecaedf22454addf29917d70f3cb091fcdb3357b
Time (start): Thu, 2020-07-16 00:03:52
Time (end): Thu, 2020-07-16 00:03:59
Duration: 7.45 seconds
Number of files: 6412
Utilization of max. archive size: 0%
------------------------------------------------------------------------------
Original size Compressed size Deduplicated size
This archive: 1.51 GB 336.84 MB 41.20 MB
All archives: 2.59 TB 1.39 TB 24.34 GB
Unique chunks Total chunks
Chunk index: 284940 52212773
------------------------------------------------------------------------------
which practically menas the borg run completes, but complains about a file being removed while running and thus returning non zero.
grob then flags the run as incomplete which is not true, but will not "self heal", cause the next run will fail again with:
[root@backup 2020-07-16]# cat 2020-07-16.07:36:11_apps0.dslab.tuwien.ac.at_var.borg
Archive daily_2020-07-16_apps0.dslab.tuwien.ac.at_var already exists
So either make borg return zero if only a file was missing or make grob detect not to fail if an archive already exists. Maybe both.