]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/civicrm/templates/default/backup.cron.erb
Use 12.04 chef packages on 12.10
[chef.git] / cookbooks / civicrm / templates / default / backup.cron.erb
index 55657a69ddfd7ed75277bc769141a1844f4552c3..83421ff0ff5fadc983c526aeb1c8f26df2e803f0 100644 (file)
@@ -8,9 +8,10 @@ B=osmf-crm-$D.tar.gz
 
 mkdir $T/osmf-crm-$D
 mysqldump --user=civicrm --password=<%= @passwords["database"] %> --opt --skip-lock-tables civicrm > $T/osmf-crm-$D/civicrm.sql
-ln -s /data/crm.osmfoundation.org $T/osmf-crm-$D/www
+ln -s /srv/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