X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/3ae5b9b4fbb5a637df5a9e8138cd421e0c6e74e7..178a12aa8274a5d49368bcf0a655442af94b8c58:/cookbooks/subversion/templates/default/backup.cron.erb?ds=sidebyside diff --git a/cookbooks/subversion/templates/default/backup.cron.erb b/cookbooks/subversion/templates/default/backup.cron.erb index 9950024a9..df7b4fe28 100644 --- a/cookbooks/subversion/templates/default/backup.cron.erb +++ b/cookbooks/subversion/templates/default/backup.cron.erb @@ -9,9 +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 -c arcfour" +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