X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/71323f36ec5e2bace478285910d692f792dee773..14f19195bcaa9b3dd001db87d2df28b74667c437:/cookbooks/civicrm/templates/default/backup.cron.erb diff --git a/cookbooks/civicrm/templates/default/backup.cron.erb b/cookbooks/civicrm/templates/default/backup.cron.erb index 55657a69d..202469c87 100644 --- a/cookbooks/civicrm/templates/default/backup.cron.erb +++ b/cookbooks/civicrm/templates/default/backup.cron.erb @@ -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/join.osmfoundation.org $T/osmf-crm-$D/www export GZIP="--rsyncable -9" +export RSYNC_RSH="ssh -ax" nice tar --create --gzip --dereference --directory=$T --file=$T/$B osmf-crm-$D nice rsync $T/$B backup::backup