X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/000cf40a50bddab6ef1cfdf174e1e1a7ba15773e..178a12aa8274a5d49368bcf0a655442af94b8c58:/cookbooks/subversion/templates/default/backup.cron.erb diff --git a/cookbooks/subversion/templates/default/backup.cron.erb b/cookbooks/subversion/templates/default/backup.cron.erb index ac3852a1c..df7b4fe28 100644 --- a/cookbooks/subversion/templates/default/backup.cron.erb +++ b/cookbooks/subversion/templates/default/backup.cron.erb @@ -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