Update mysql_backup.sh
This commit is contained in:
@@ -14,6 +14,7 @@ usage()
|
||||
echo "-e | --email :: notification email"
|
||||
echo "-l | --lock-all-tables"
|
||||
echo "-s | --single-transaction"
|
||||
echo "-i| --ignore-table"
|
||||
echo "-z | --gzip :: compress dump using gzip"
|
||||
echo "-x | --xz :: compress dump using xz"
|
||||
echo "--xz-threads :: number of worker threads to use by xz. 0 - use all CPU. (default: 2)"
|
||||
@@ -91,6 +92,8 @@ while [ "${1}" != "" ]; do
|
||||
;;
|
||||
-q | --quiet ) quiet=1
|
||||
;;
|
||||
-i | --ignore-table ) mysqlparams="${mysqlparams} --master-data --include-master-host-port --ignore-table=${1}" ;
|
||||
;;
|
||||
--pid-file ) shift
|
||||
pidfile=${1}
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user