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