Merge pull request #1 from jackbenny/master

Add --events option to remove warning when dumping the mysql database
This commit is contained in:
Andrew Smith 2013-06-18 15:44:40 -07:00
commit fa88a76b4b
2 changed files with 11 additions and 0 deletions

View File

@ -94,6 +94,8 @@ fi
# 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)
# - Fixed pathname bug item #3025849 (by Johannes Kolter)
# VER 2.5.1 - (2010-07-04)
@ -310,6 +312,12 @@ if [ "${COMMCOMP}" = "yes" ];
OPT="${OPT} --compress"
fi
# Add --events mysqldump option to ${OPT}
if [ "${EVENTS}" = "yes" ];
then
OPT="${OPT} --events"
fi
# Add --max_allowed_packet=... mysqldump option to ${OPT}
if [ "${MAX_ALLOWED_PACKET}" ];
then

View File

@ -163,6 +163,9 @@ COMP=gzip
# Compress communications between backup server and MySQL server?
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.
LATEST=no