X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/3ae5b9b4fbb5a637df5a9e8138cd421e0c6e74e7..e0eb12fed2fb98b8930c4e2d60b43d2b9fa3e2b5:/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 bfc9c0305..e4e4bd8d6 100644 --- a/cookbooks/trac/templates/default/backup.cron.erb +++ b/cookbooks/trac/templates/default/backup.cron.erb @@ -9,9 +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 -c arcfour" +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