3 # DO NOT EDIT - This file is being maintained by Chef
5 T=$(mktemp -d -t -p /var/tmp osmf-crm.XXXXXXXXXX)
10 mysqldump --user=civicrm --password=<%= @passwords["database"] %> --opt --skip-lock-tables civicrm > $T/osmf-crm-$D/civicrm.sql
11 ln -s /srv/crm.osmfoundation.org $T/osmf-crm-$D/www
13 export GZIP="--rsyncable -9"
14 export RSYNC_RSH="ssh -ax -c arcfour"
16 nice tar --create --gzip --dereference --directory=$T --file=$T/$B osmf-crm-$D
17 nice rsync $T/$B backup::backup