X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/8eb2c1d74e2a81950469412a4b73d9c31a08a8fa..55f07b266707be40843e951f5811e0de82b50fb5:/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 45aafad26..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 nice $T/$B backup::backup +nice rsync $T/$B backup::backup rm -rf $T