]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/subversion/templates/default/backup.cron.erb
nominatim: allow blocking by email field
[chef.git] / cookbooks / subversion / templates / default / backup.cron.erb
index ac3852a1c1f3cd2cefabb5e3f4fe6e73140a36bf..df7b4fe28f880d38b60508b698b080daa78efa59 100644 (file)
@@ -9,8 +9,9 @@ B=svn-$D.tar.gz
 nice svnadmin hotcopy /var/lib/subversion/repos/openstreetmap $T/svn-$D > /dev/null
 
 export GZIP="--rsyncable -9"
+export RSYNC_RSH="ssh -ax"
 
 nice tar --create --gzip --directory=$T --file=$T/$B svn-$D
-nice rsync $T/$B backup::backup
+nice rsync --preallocate --fuzzy $T/$B backup::backup
 
 rm -rf $T