]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/stateofthemap/templates/default/backup.cron.erb
Set internal rsync over ssh backups to use arcfour (rc4) for performance
[chef.git] / cookbooks / stateofthemap / templates / default / backup.cron.erb
index 45aafad26a49173f20c7c20590da840c550056ed..86795a810041b5162ef79b057e257acaff24a8c4 100644 (file)
@@ -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