Added support for the --events option
This commit is contained in:
parent
a1d1f9a26c
commit
3cce79a0a8
@ -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,8 +312,14 @@ 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
|
||||||
OPT="${OPT} --max_allowed_packet=${MAX_ALLOWED_PACKET}"
|
OPT="${OPT} --max_allowed_packet=${MAX_ALLOWED_PACKET}"
|
||||||
fi
|
fi
|
||||||
|
@ -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