Changed mysql dump options

This commit is contained in:
Naum Soloveychik
2020-01-12 11:04:53 +03:00
parent 5d8bee165c
commit 14680704fa
2 changed files with 10 additions and 13 deletions

View File

@@ -44,5 +44,5 @@ set master data in dump
user = mysqldump user = mysqldump
password = secret_passwd_here password = secret_passwd_here
host = localhost host = localhost
max-allowed-packet=512M max-allowed-packet=1G
``` ```

View File

@@ -90,24 +90,21 @@ mysqlparams=" --all-databases \
--add-drop-database \ --add-drop-database \
--add-drop-table \ --add-drop-table \
--add-drop-trigger \ --add-drop-trigger \
--triggers \
--add-locks \ --add-locks \
--disable-keys \
--allow-keywords \
--complete-insert \
--create-options \ --create-options \
--default-character-set=UTF8 \ --complete-insert \
--extended-insert \
--allow-keywords \
--default-character-set=utf8mb4 \
--dump-date \ --dump-date \
--events \ --events \
--extended-insert \
--flush-privileges \
--quick \
--quote-names \
--routines \ --routines \
--set-charset \ --quote-names \
--triggers \ --flush-privileges \
--force \
--comments \ --comments \
--max-allowed-packet=128M \ --quick \
--force \
--log-error=/var/log/mysqldump.log" ; --log-error=/var/log/mysqldump.log" ;
if [ "${singletrans}" ] ; then if [ "${singletrans}" ] ; then