X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/c7ee9dcbb0d99cf3bbea9ae22e1de4111a8e58a8..c5547dd0cffc607cd6653f5caefa4e0ea9f7bb06:/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 06f6de961..e4e4bd8d6 100644 --- a/cookbooks/trac/templates/default/backup.cron.erb +++ b/cookbooks/trac/templates/default/backup.cron.erb @@ -9,8 +9,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 rsync $T/$B backup::backup +nice rsync --preallocate --fuzzy $T/$B backup::backup rm -rf $T