nummeric-ids for ssh and root rsync

This commit is contained in:
olli 2022-12-07 09:35:17 +01:00
parent 6680c95e64
commit 2172181597

View File

@ -88,6 +88,7 @@ Nextcloud/
rsyncopts="-aXAh --timeout=180 --force --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 "$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"
ORIGIFS="$IFS" ORIGIFS="$IFS"
IFS=':' IFS=':'