[Borgbackup] Borgbackup] Retrieve the status (return code) of a backup?

Thomas Waldmann tw at waldmann-edv.de
Thu Mar 26 19:13:12 EDT 2020


> But anyway, I will improve my script, and I thing I’ll log borg’s return
> code after each backup, and append the log to a file on the drive
> containing the repository, to have a vision of this  backups

borg create --show-rc ...

And BTW, 1 is not "error", but just "warning", see the docs.

-- 

GPG ID: 9F88FB52FAF7B393
GPG FP: 6D5B EF9A DD20 7580 5747 B70F 9F88 FB52 FAF7 B393


More information about the Borgbackup mailing list