first scan over all files to prevent after copy created hardlinks
This commit is contained in:
parent
fbfd8a1c9e
commit
44b984860f
@ -86,7 +86,7 @@ var-lib-docker
|
|||||||
sshopts="g_retrycmd ssh -n -p $BACKUPSRVPORT -o BatchMode=yes -o StrictHostKeyChecking=accept-new $BACKUPSRVUSER@$BACKUPSRV"
|
sshopts="g_retrycmd ssh -n -p $BACKUPSRVPORT -o BatchMode=yes -o StrictHostKeyChecking=accept-new $BACKUPSRVUSER@$BACKUPSRV"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rsyncopts="-aXAh --timeout=180 --force --delete --ignore-missing-args --inplace --partial"
|
rsyncopts="-aXAh --no-inc-recursive --timeout=180 --force --delete --ignore-missing-args --inplace --partial"
|
||||||
[ -n "$BACKUPEXCLUDES" ] && rsyncopts="$rsyncopts --delete-excluded --exclude-from=$BACKUPEXCLUDES"
|
[ -n "$BACKUPEXCLUDES" ] && rsyncopts="$rsyncopts --delete-excluded --exclude-from=$BACKUPEXCLUDES"
|
||||||
[ -n "$BACKUPSRV" ] && rsyncopts="$rsyncopts -e 'ssh -p $BACKUPSRVPORT'"
|
[ -n "$BACKUPSRV" ] && rsyncopts="$rsyncopts -e 'ssh -p $BACKUPSRVPORT'"
|
||||||
[ "$BACKUPSRVUSER" == "root" ] && syncopts="$rsyncopts --numeric-ids"
|
[ "$BACKUPSRVUSER" == "root" ] && syncopts="$rsyncopts --numeric-ids"
|
||||||
|
Loading…
Reference in New Issue
Block a user