X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/000cf40a50bddab6ef1cfdf174e1e1a7ba15773e..4848413b102b4643b0dbec409f0a45dd83cfc07f:/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..d82348da8 100644 --- a/cookbooks/subversion/templates/default/backup.cron.erb +++ b/cookbooks/subversion/templates/default/backup.cron.erb @@ -8,9 +8,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 tar --create --directory=$T svn-$D | nice gzip --rsyncable -9 > $T/$B +nice rsync --preallocate --fuzzy $T/$B backup::backup rm -rf $T