X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/26a68b9cedfe53e69e6b1571964985be174eee30..601184bb64fce3feb74b9f4fd933649d05b92a22:/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 387759692..86795a810 100644 --- a/cookbooks/stateofthemap/templates/default/backup.cron.erb +++ b/cookbooks/stateofthemap/templates/default/backup.cron.erb @@ -20,8 +20,9 @@ ln -s /srv/2011.stateofthemap.org $T/sotm-$D/www2011 ln -s /srv/2012.stateofthemap.org $T/sotm-$D/www2012 export GZIP="--rsyncable -9" +export RSYNC_RSH="ssh -ax -c arcfour" 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