Commit 899979d3 authored by Nico Schottelius's avatar Nico Schottelius

handle sparse files correctly

Signed-off-by: default avatarNico Schottelius <nico@bento.schottelius.org>
parent 9e0dcf47
......@@ -30,6 +30,6 @@ sshconfig=$sshdir/config
d1=$(date)
set -x
rsync -av -e "ssh -i $sshkey -F $sshconfig" --delete "$src" "$dst"
rsync -avS -e "ssh -i $sshkey -F $sshconfig" --delete "$src" "$dst"
echo $d1
date
......@@ -21,7 +21,7 @@ case "$dsthost" in
esac
start=$(date)
rsync -av --delete --progress \
rsync -avS --delete --progress \
--exclude '/proc/*' \
--exclude '/tmp/*' \
--exclude '/sys/*' \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment