Index: trunk/backup/worker.py |
— | — | @@ -90,7 +90,7 @@ |
91 | 91 | |
92 | 92 | def saveTable(self, table, outfile): |
93 | 93 | """Dump a table from the current DB with mysqldump, save to a gzipped sql file.""" |
94 | | - command = "mysqldump -h %s -u %s %s --opt --quote-names %s %s | gzip" % shellEscape(( |
| 94 | + command = "mysqldump -h %s -u %s %s --extended-insert --skip-opt --quick --create-options --add-drop-table --extended-insert --set-charset --quote-names %s %s | gzip" % shellEscape(( |
95 | 95 | self.dbServer, |
96 | 96 | self.config.dbUser, |
97 | 97 | self.passwordOption(), |