From: Grant Slater Date: Fri, 4 Oct 2013 10:43:14 +0000 (+0100) Subject: Revert "Add v. ugly temp workaround so that daily UCL backups complete" X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/1311c809f2e83ece3c73c066a30d1205629406f8?hp=4c749bbf1e706caf3211d49e56ef15ee0c1b513b;ds=sidebyside Revert "Add v. ugly temp workaround so that daily UCL backups complete" This reverts commit 26a68b9cedfe53e69e6b1571964985be174eee30. --- diff --git a/cookbooks/blog/templates/default/backup.cron.erb b/cookbooks/blog/templates/default/backup.cron.erb index be093634e..b64c4f072 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 --bwlimit=500 $T/$B backup::backup +nice rsync $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 387759692..e78b50348 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 --bwlimit=500 $T/$B backup::backup +nice rsync $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 80047e839..4a472e5aa 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 --bwlimit=500 $T/$B backup::backup +nice rsync $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 b243e9f07..ecdba2ec4 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 --bwlimit=500 $T/$B backup::backup +nice rsync $T/$B backup::backup rm -rf $T