forked from ungleich-public/ccollect
Do not use --archive on source check
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
cbf34deade
commit
540d860e28
1 changed files with 7 additions and 2 deletions
9
ccollect
9
ccollect
|
@ -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"
|
"--delete-excluded" "--sparse"
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -437,6 +437,11 @@ while [ "${source_no}" -lt "${no_sources}" ]; do
|
||||||
_exit_err "Source ${source} is not readable. Skipping."
|
_exit_err "Source ${source} is not readable. Skipping."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#
|
||||||
|
# Add --archive for real backup (looks nice in front)
|
||||||
|
#
|
||||||
|
set -- "--archive" "$@"
|
||||||
|
|
||||||
#
|
#
|
||||||
# Check: destination exists?
|
# Check: destination exists?
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue