X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fbackupninja.git;a=blobdiff_plain;f=handlers%2Fmysql.in;h=c80a36a3d95881ba0aa8b4f8ba5fd20ec3efce05;hp=fe1e7832f32ee43c090cf5e17d6e985e040f8376;hb=2cfcdd636d21e353f061fdc563c4b6dee3a4d979;hpb=4506202ea78d5c5829113d6f2a183c540585cd5d diff --git a/handlers/mysql.in b/handlers/mysql.in index fe1e783..c80a36a 100644 --- a/handlers/mysql.in +++ b/handlers/mysql.in @@ -10,6 +10,7 @@ getconf nodata getconf dbhost localhost getconf hotcopy no getconf sqldump no +getconf sqldumpoptions "--lock-tables --complete-insert --add-drop-table --quick --quote-names" getconf compress yes getconf vsname @@ -245,7 +246,7 @@ then for db in $databases do - DUMP_BASE="$MYSQLDUMP $defaultsfile --lock-tables --complete-insert --add-drop-table --quick --quote-names" + DUMP_BASE="$MYSQLDUMP $defaultsfile $sqldumpoptions" # Dumping structure and data DUMP="$DUMP_BASE $ignore $db"