Skip to content
Snippets Groups Projects
Commit 497ff73b authored by Jérôme Charaoui's avatar Jérôme Charaoui
Browse files

Merge branch 'fix_11285' into 'master'

Attempt to sanitize the database identifiers, fix #11285

Closes #11285

See merge request riseuplabs/backupninja!11
parents 177b4267 bc9be0d5
No related branches found
No related tags found
No related merge requests found
...@@ -255,6 +255,9 @@ then ...@@ -255,6 +255,9 @@ then
for db in $databases for db in $databases
do do
# Sanitize database name
db=$(echo $db | tr -d \'\;)
DUMP_BASE="$MYSQLDUMP $defaultsfile $sqldumpoptions" DUMP_BASE="$MYSQLDUMP $defaultsfile $sqldumpoptions"
# Dumping structure and data # Dumping structure and data
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment