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