]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/thinkup/templates/default/backup.cron.erb
Set internal rsync over ssh backups to use arcfour (rc4) for performance
[chef.git] / cookbooks / thinkup / templates / default / backup.cron.erb
index ecdba2ec4f2c90118d52f0cbaeb7a69a5164e5fd..d461717960ecb593ecaf81a70d0c189d13b1a098 100644 (file)
@@ -11,6 +11,7 @@ mysqldump --user=thinkup --password=<%= @passwords["database"] %> --opt thinkup
 ln -s /srv/thinkup.openstreetmap.org $T/thinkup-$D/www
 
 export GZIP="--rsyncable -9"
 ln -s /srv/thinkup.openstreetmap.org $T/thinkup-$D/www
 
 export GZIP="--rsyncable -9"
+export RSYNC_RSH="ssh -ax -c arcfour"
 
 nice tar --create --gzip --dereference --directory=$T --file=$T/$B thinkup-$D
 nice rsync $T/$B backup::backup
 
 nice tar --create --gzip --dereference --directory=$T --file=$T/$B thinkup-$D
 nice rsync $T/$B backup::backup