diff options
author | intrigeri <intrigeri@boum.org> | 2008-12-09 11:40:03 +0000 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2008-12-09 11:40:03 +0000 |
commit | 2cfcdd636d21e353f061fdc563c4b6dee3a4d979 (patch) | |
tree | e0f593b0c2613fd0f1fb5f2cc90d993614f9e6d2 /handlers/mysql.in | |
parent | 4506202ea78d5c5829113d6f2a183c540585cd5d (diff) | |
download | backupninja-2cfcdd636d21e353f061fdc563c4b6dee3a4d979.tar.gz backupninja-2cfcdd636d21e353f061fdc563c4b6dee3a4d979.tar.bz2 |
mysql: new sqldumpoptions config variable (Closes: #502966)
Diffstat (limited to 'handlers/mysql.in')
-rw-r--r-- | handlers/mysql.in | 3 |
1 files changed, 2 insertions, 1 deletions
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" |