Merge "Add hints to borg backup error logging"

This commit is contained in:
Zuul 2024-01-05 02:28:14 +00:00 committed by Gerrit Code Review
commit 8734fa7c6e

View File

@ -46,6 +46,7 @@ do
_status=( "${PIPESTATUS[@]}" )
if [[ ${_status[0]} -ne 0 ]]; then
info "Streaming script ${f} failed!"
info "Note that problems in the ssh connectivity might cause the streaming script to fail. You may need to check both halves of the streaming backup."
stream_exit=${_status[0]}
elif [[ ${_status[1]} -ne 0 ]]; then
info "Borg failed (rc: ${_status[1]})!"