X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ab47927c016597f8602b81dcdc168ad5c335389d..b7c12630cb9de017d76fe60ff296534d6d061399:/cookbooks/civicrm/templates/default/backup.cron.erb?ds=sidebyside diff --git a/cookbooks/civicrm/templates/default/backup.cron.erb b/cookbooks/civicrm/templates/default/backup.cron.erb index 29fc2ba1b..7738f75ca 100644 --- a/cookbooks/civicrm/templates/default/backup.cron.erb +++ b/cookbooks/civicrm/templates/default/backup.cron.erb @@ -11,11 +11,11 @@ echo '[mysqldump]' > $T/mysqldump.opts echo 'user=civicrm' >> $T/mysqldump.opts echo 'password=<%= @passwords["database"] %>' >> $T/mysqldump.opts mysqldump --defaults-file=$T/mysqldump.opts --opt --skip-lock-tables --no-tablespaces civicrm > $T/osmf-crm-$D/civicrm.sql -ln -s /srv/join.osmfoundation.org $T/osmf-crm-$D/www +ln -s /srv/supporting.openstreetmap.org $T/osmf-crm-$D/www export RSYNC_RSH="ssh -ax" nice tar --create --dereference --directory=$T osmf-crm-$D | nice gzip --rsyncable -9 > $T/$B -nice rsync --preallocate --fuzzy $T/$B backup::backup +nice rsync --preallocate --fuzzy $T/$B backup.openstreetmap.org::backup rm -rf $T