From: Grant Slater Date: Mon, 23 Sep 2013 15:09:02 +0000 (+0100) Subject: Add v. ugly temp workaround so that daily UCL backups complete X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/26a68b9cedfe53e69e6b1571964985be174eee30?hp=672826e9aee2d6c2af0aef43428bc79bd7138902;ds=sidebyside Add v. ugly temp workaround so that daily UCL backups complete --- diff --git a/cookbooks/blog/templates/default/backup.cron.erb b/cookbooks/blog/templates/default/backup.cron.erb index b64c4f072..be093634e 100644 --- a/cookbooks/blog/templates/default/backup.cron.erb +++ b/cookbooks/blog/templates/default/backup.cron.erb @@ -13,6 +13,6 @@ ln -s /srv/blog.openstreetmap.org $T/osm-blog-$D/www export GZIP="--rsyncable -9" nice tar --create --gzip --dereference --directory=$T --file=$T/$B osm-blog-$D -nice rsync $T/$B backup::backup +nice rsync --bwlimit=500 $T/$B backup::backup rm -rf $T diff --git a/cookbooks/stateofthemap/templates/default/backup.cron.erb b/cookbooks/stateofthemap/templates/default/backup.cron.erb index e78b50348..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 rsync $T/$B backup::backup +nice rsync --bwlimit=500 $T/$B backup::backup rm -rf $T diff --git a/cookbooks/switch2osm/templates/default/backup.cron.erb b/cookbooks/switch2osm/templates/default/backup.cron.erb index 4a472e5aa..80047e839 100644 --- a/cookbooks/switch2osm/templates/default/backup.cron.erb +++ b/cookbooks/switch2osm/templates/default/backup.cron.erb @@ -13,6 +13,6 @@ ln -s /srv/switch2osm.org $T/switch2osm-$D/www export GZIP="--rsyncable -9" nice tar --create --gzip --dereference --directory=$T --file=$T/$B switch2osm-$D -nice rsync $T/$B backup::backup +nice rsync --bwlimit=500 $T/$B backup::backup rm -rf $T diff --git a/cookbooks/thinkup/templates/default/backup.cron.erb b/cookbooks/thinkup/templates/default/backup.cron.erb index ecdba2ec4..b243e9f07 100644 --- a/cookbooks/thinkup/templates/default/backup.cron.erb +++ b/cookbooks/thinkup/templates/default/backup.cron.erb @@ -13,6 +13,6 @@ ln -s /srv/thinkup.openstreetmap.org $T/thinkup-$D/www export GZIP="--rsyncable -9" nice tar --create --gzip --dereference --directory=$T --file=$T/$B thinkup-$D -nice rsync $T/$B backup::backup +nice rsync --bwlimit=500 $T/$B backup::backup rm -rf $T