Merge branch 'fix_11285' into 'master'

Attempt to sanitize the database identifiers, fix #11285

Closes #11285

See merge request riseuplabs/backupninja!11
This commit is contained in:
lavamind 2018-06-27 17:31:13 -07:00
commit 497ff73b65

View File

@ -255,6 +255,9 @@ then
for db in $databases
do
# Sanitize database name
db=$(echo $db | tr -d \'\;)
DUMP_BASE="$MYSQLDUMP $defaultsfile $sqldumpoptions"
# Dumping structure and data