projects
/
matthijs
/
upstream
/
backupninja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mysql: new sqldumpoptions config variable (Closes: #502966)
[matthijs/upstream/backupninja.git]
/
handlers
/
mysql.in
diff --git
a/handlers/mysql.in
b/handlers/mysql.in
index fe1e7832f32ee43c090cf5e17d6e985e040f8376..c80a36a3d95881ba0aa8b4f8ba5fd20ec3efce05 100644
(file)
--- a/
handlers/mysql.in
+++ b/
handlers/mysql.in
@@
-10,6
+10,7
@@
getconf nodata
getconf dbhost localhost
getconf hotcopy no
getconf sqldump no
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
getconf compress yes
getconf vsname
@@
-245,7
+246,7
@@
then
for db in $databases
do
for db in $databases
do
- DUMP_BASE="$MYSQLDUMP $defaultsfile
--lock-tables --complete-insert --add-drop-table --quick --quote-name
s"
+ DUMP_BASE="$MYSQLDUMP $defaultsfile
$sqldumpoption
s"
# Dumping structure and data
DUMP="$DUMP_BASE $ignore $db"
# Dumping structure and data
DUMP="$DUMP_BASE $ignore $db"