]> 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 e78b50348cadcca6d52c72984a49538c72cb26a2..86795a810041b5162ef79b057e257acaff24a8c4 100644 (file)
@@ -20,6 +20,7 @@ ln -s /srv/2011.stateofthemap.org $T/sotm-$D/www2011
 ln -s /srv/2012.stateofthemap.org $T/sotm-$D/www2012
 
 export GZIP="--rsyncable -9"
 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 $T/$B backup::backup
 
 nice tar --create --gzip --dereference --directory=$T --file=$T/$B sotm-$D
 nice rsync $T/$B backup::backup