rsync opts for timeout and force
This commit is contained in:
parent
6e309e9bae
commit
105f8c90da
@ -85,7 +85,7 @@ Nextcloud/
|
||||
sshopts="g_retrycmd ssh -n -p $BACKUPSRVPORT -o BatchMode=yes -o StrictHostKeyChecking=accept-new $BACKUPSRVUSER@$BACKUPSRV"
|
||||
fi
|
||||
|
||||
rsyncopts="-aXAh --delete --ignore-missing-args --inplace --partial"
|
||||
rsyncopts="-aXAh --timeout=180 --force --delete --ignore-missing-args --inplace --partial"
|
||||
[ -n "$BACKUPEXCLUDES" ] && rsyncopts="$rsyncopts --delete-excluded --exclude-from=$BACKUPEXCLUDES"
|
||||
[ -n "$BACKUPSRV" ] && rsyncopts="$rsyncopts -e 'ssh -p $BACKUPSRVPORT'"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user