bundles/backup-client: sleep a bit if backup did finish non-zero to increase chances of success
This commit is contained in:
parent
04cee2b4c3
commit
05de574471
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ do_backup() {
|
||||||
if [[ $exitcode != 0 ]] && [[ $exitcode != 24 ]]
|
if [[ $exitcode != 0 ]] && [[ $exitcode != 24 ]]
|
||||||
then
|
then
|
||||||
rsync_errorcodes_for_this_path+=" $exitcode"
|
rsync_errorcodes_for_this_path+=" $exitcode"
|
||||||
|
sleep 30
|
||||||
else
|
else
|
||||||
backup_has_successfully_run="yes"
|
backup_has_successfully_run="yes"
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in a new issue