From 1311c809f2e83ece3c73c066a30d1205629406f8 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Fri, 4 Oct 2013 11:43:14 +0100 Subject: [PATCH] Revert "Add v. ugly temp workaround so that daily UCL backups complete" This reverts commit 26a68b9cedfe53e69e6b1571964985be174eee30. --- cookbooks/blog/templates/default/backup.cron.erb | 2 +- cookbooks/stateofthemap/templates/default/backup.cron.erb | 2 +- cookbooks/switch2osm/templates/default/backup.cron.erb | 2 +- cookbooks/thinkup/templates/default/backup.cron.erb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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 -- 2.43.2