]> git.openstreetmap.org Git - chef.git/commitdiff
Add v. ugly temp workaround so that daily UCL backups complete
authorGrant Slater <git@firefishy.com>
Mon, 23 Sep 2013 15:09:02 +0000 (16:09 +0100)
committerGrant Slater <git@firefishy.com>
Mon, 23 Sep 2013 15:09:10 +0000 (16:09 +0100)
cookbooks/blog/templates/default/backup.cron.erb
cookbooks/stateofthemap/templates/default/backup.cron.erb
cookbooks/switch2osm/templates/default/backup.cron.erb
cookbooks/thinkup/templates/default/backup.cron.erb

index b64c4f072cd3e9be9ff70807f3a76cffba95c54a..be093634e67b0f21a4630fc49dbf4512e8d24f2c 100644 (file)
@@ -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
index e78b50348cadcca6d52c72984a49538c72cb26a2..387759692dda9d53aa2b8cdfa844686096c05a79 100644 (file)
@@ -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
index 4a472e5aa584695be678f708cd7de1c882e061d2..80047e839a0a7a7475949b2e9120791d7fc33bd2 100644 (file)
@@ -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
index ecdba2ec4f2c90118d52f0cbaeb7a69a5164e5fd..b243e9f07739854b4891757486e08983b86d231d 100644 (file)
@@ -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