X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/51096343cee85550cd197da1f8354f8407506af5..699e157e3d708f38064eea9072aa210fe5ccac30:/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 750cf47ce..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 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