Do not use --archive on source check

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-01-15 01:39:00 +01:00
parent cbf34deade
commit 540d860e28

View file

@ -388,9 +388,9 @@ while [ "${source_no}" -lt "${no_sources}" ]; do
#
#
# Rsync standard options
# Rsync standard options (archive will be added after is-up-check)
#
set -- "$@" "--archive" "--delete" "--numeric-ids" "--relative" \
set -- "$@" "--delete" "--numeric-ids" "--relative" \
"--delete-excluded" "--sparse"
#
@ -437,6 +437,11 @@ while [ "${source_no}" -lt "${no_sources}" ]; do
_exit_err "Source ${source} is not readable. Skipping."
fi
#
# Add --archive for real backup (looks nice in front)
#
set -- "--archive" "$@"
#
# Check: destination exists?
#