bundles/backup-client: sleep a bit if backup did finish non-zero to increase chances of success

This commit is contained in:
Franzi 2021-08-07 10:30:19 +02:00
parent 04cee2b4c3
commit 05de574471
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -39,6 +39,7 @@ do_backup() {
if [[ $exitcode != 0 ]] && [[ $exitcode != 24 ]]
then
rsync_errorcodes_for_this_path+=" $exitcode"
sleep 30
else
backup_has_successfully_run="yes"
break