X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/8eb2c1d74e2a81950469412a4b73d9c31a08a8fa..4c749bbf1e706caf3211d49e56ef15ee0c1b513b:/cookbooks/stateofthemap/templates/default/backup.cron.erb diff --git a/cookbooks/stateofthemap/templates/default/backup.cron.erb b/cookbooks/stateofthemap/templates/default/backup.cron.erb index 45aafad26..387759692 100644 --- a/cookbooks/stateofthemap/templates/default/backup.cron.erb +++ b/cookbooks/stateofthemap/templates/default/backup.cron.erb @@ -22,6 +22,6 @@ ln -s /srv/2012.stateofthemap.org $T/sotm-$D/www2012 export GZIP="--rsyncable -9" nice tar --create --gzip --dereference --directory=$T --file=$T/$B sotm-$D -nice nice $T/$B backup::backup +nice rsync --bwlimit=500 $T/$B backup::backup rm -rf $T