Merge pull request #840 from aperto/master

Fix global parameter usage in backup script
This commit is contained in:
Bryan Jen 2016-06-14 11:01:35 -07:00 committed by GitHub
commit 6146d93b67

View file

@ -68,7 +68,7 @@ cleanup
<% end -%>
<% if @backupdatabases.empty? -%>
<% if @file_per_database -%>
mysql --defaults-file=$TMPFILE -s -r -N -e 'SHOW DATABASES' | while read dbname
mysql --defaults-extra-file=$TMPFILE -s -r -N -e 'SHOW DATABASES' | while read dbname
do
mysqldump --defaults-extra-file=$TMPFILE --opt --flush-logs --single-transaction \
${ADDITIONAL_OPTIONS} \