Merge pull request #1 from jackbenny/master
Add --events option to remove warning when dumping the mysql database
This commit is contained in:
commit
fa88a76b4b
@ -94,6 +94,8 @@ fi
|
|||||||
# Change Log
|
# Change Log
|
||||||
#=====================================================================
|
#=====================================================================
|
||||||
#
|
#
|
||||||
|
# VER 2.5.1-02 - (2013-06-09)
|
||||||
|
# - Added support for events option (by Jack-Benny Persson)
|
||||||
# VER 2.5.1-01 - (2010-07-06)
|
# VER 2.5.1-01 - (2010-07-06)
|
||||||
# - Fixed pathname bug item #3025849 (by Johannes Kolter)
|
# - Fixed pathname bug item #3025849 (by Johannes Kolter)
|
||||||
# VER 2.5.1 - (2010-07-04)
|
# VER 2.5.1 - (2010-07-04)
|
||||||
@ -310,6 +312,12 @@ if [ "${COMMCOMP}" = "yes" ];
|
|||||||
OPT="${OPT} --compress"
|
OPT="${OPT} --compress"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Add --events mysqldump option to ${OPT}
|
||||||
|
if [ "${EVENTS}" = "yes" ];
|
||||||
|
then
|
||||||
|
OPT="${OPT} --events"
|
||||||
|
fi
|
||||||
|
|
||||||
# Add --max_allowed_packet=... mysqldump option to ${OPT}
|
# Add --max_allowed_packet=... mysqldump option to ${OPT}
|
||||||
if [ "${MAX_ALLOWED_PACKET}" ];
|
if [ "${MAX_ALLOWED_PACKET}" ];
|
||||||
then
|
then
|
||||||
|
@ -163,6 +163,9 @@ COMP=gzip
|
|||||||
# Compress communications between backup server and MySQL server?
|
# Compress communications between backup server and MySQL server?
|
||||||
COMMCOMP=no
|
COMMCOMP=no
|
||||||
|
|
||||||
|
# Include events table in backup, new default in MySQL is to skip it
|
||||||
|
EVENTS=no
|
||||||
|
|
||||||
# Additionally keep a copy of the most recent backup in a seperate directory.
|
# Additionally keep a copy of the most recent backup in a seperate directory.
|
||||||
LATEST=no
|
LATEST=no
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user