nummeric-ids for ssh and root rsync
This commit is contained in:
parent
6680c95e64
commit
2172181597
@ -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=':'
|
||||||
|
Loading…
Reference in New Issue
Block a user