X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/9532639f55150f23cc8dff77c01a78a06c6db32b..1311c809f2e83ece3c73c066a30d1205629406f8:/cookbooks/thinkup/templates/default/backup.cron.erb diff --git a/cookbooks/thinkup/templates/default/backup.cron.erb b/cookbooks/thinkup/templates/default/backup.cron.erb index b5b6c75bb..ecdba2ec4 100644 --- a/cookbooks/thinkup/templates/default/backup.cron.erb +++ b/cookbooks/thinkup/templates/default/backup.cron.erb @@ -7,7 +7,7 @@ D=$(date +%Y-%m-%d) B=thinkup-$D.tar.gz mkdir $T/thinkup-$D -mysqldump --user=thinkup --password=<% @passwords["database"] %> --opt thinkup > $T/thinkup-$D/thinkup.sql +mysqldump --user=thinkup --password=<%= @passwords["database"] %> --opt thinkup > $T/thinkup-$D/thinkup.sql ln -s /srv/thinkup.openstreetmap.org $T/thinkup-$D/www export GZIP="--rsyncable -9"