summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbackup.in10
1 files changed, 8 insertions, 2 deletions
diff --git a/backup.in b/backup.in
index 33a59f3..b8da82f 100755
--- a/backup.in
+++ b/backup.in
@@ -111,16 +111,22 @@ chmod 750 ${neues}
chown erich:root ${neues}
if [ -z "${rsyncShell}" ]
then
- rsync -av -x --no-p --no-o --no-g ${linkdests} \
+ rsync -rlDvx ${linkdests} \
${excludeArgs} \
${Quelle} ${neues}/
sleep 1
+ rsync -avx ${excludeArgs} \
+ ${Quelle} ${neues}/
+ sleep 1
rsync ${Quelle}
else
- rsync "${rsyncShell}" -av -x --no-p --no-o --no-g ${linkdests} \
+ rsync "${rsyncShell}" -rlDvx ${linkdests} \
${excludeArgs} \
${Quelle} ${neues}/
sleep 1
+ rsync "${rsyncShell}" -avx ${excludeArgs} \
+ ${Quelle} ${neues}/
+ sleep 1
rsync "${rsyncShell}" ${Quelle}
fi
erg=$?