Update db.sh - mysqldump --complete-insert --force --quick --single-transaction --max-allowed-packet=1024MB

This commit is contained in:
myvesta 2025-04-16 23:20:42 +02:00 committed by myvesta
parent 57f179ad05
commit a86f76de09

View file

@ -58,7 +58,7 @@ mysql_query() {
mysql_dump() {
err="/tmp/e.mysql"
mysqldump --defaults-file=$mycnf --single-transaction --max_allowed_packet=100M -r $1 $2 2> $err
mysqldump --defaults-file=$mycnf --complete-insert --force --quick --single-transaction --max-allowed-packet=1024MB -r $1 $2 2> $err
if [ '0' -ne "$?" ]; then
rm -rf $tmpdir
if [ "$notify" != 'no' ]; then