X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/5524a5f2a12c63acc122269b928cf28a4b0ce211..7b07f5d59b1751fef2f13b3dea701807c0b421e3:/cookbooks/trac/templates/default/backup.cron.erb diff --git a/cookbooks/trac/templates/default/backup.cron.erb b/cookbooks/trac/templates/default/backup.cron.erb index e4e4bd8d6..328d8e53c 100644 --- a/cookbooks/trac/templates/default/backup.cron.erb +++ b/cookbooks/trac/templates/default/backup.cron.erb @@ -8,10 +8,9 @@ B=trac-$D.tar.gz trac-admin /var/lib/trac hotcopy $T/trac-$D > /dev/null -export GZIP="--rsyncable -9" export RSYNC_RSH="ssh -ax" -nice tar --create --gzip --directory=$T --file=$T/$B trac-$D +nice tar --create --directory=$T trac-$D | nice gzip --rsyncable -9 > $T/$B nice rsync --preallocate --fuzzy $T/$B backup::backup rm -rf $T