]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/git/templates/default/backup.cron.erb
Merge remote-tracking branch 'github/pull/165'
[chef.git] / cookbooks / git / templates / default / backup.cron.erb
index 16f85593b53019359230cc964f85b95a3737beed..5a9d01284e38a98015bcbab877f10b57c6425853 100644 (file)
@@ -9,8 +9,9 @@ B=git-$D.tar.gz
 ln -s /var/lib/git $T/git-$D
 
 export GZIP="--rsyncable -9"
+export RSYNC_RSH="ssh -ax"
 
 nice tar --create --gzip --dereference --directory=$T --file=$T/$B git-$D
-nice rsync $T/$B backup::backup
+nice rsync --preallocate --fuzzy $T/$B backup::backup
 
 rm -rf $T