Update mysql_xtrabackup.sh

This commit is contained in:
2023-12-14 19:54:56 +03:00
parent efa9b56bbf
commit 0e070315db

View File

@@ -54,30 +54,31 @@ while [ "${1}" != "" ]; do
-e | --email ) shift
email=${1} ;
;;
-i | --ignore-database ) shift
-i ) shift
ignore_database=${1} ;
;;
--compress-threads ) shift
compress_threads=${1}
;;
-q | --quiet ) shift
quiet=1
-q | --quiet ) quiet=1
;;
--pid-file ) shift
pidfile=${1}
;;
-h | --help ) shift
usage ;
-h | --help ) usage ;
exit 0;
;;
* )
echo "Uncnown option ${1}!" ;
* ) echo "Uncnown option ${1}!" ;
usage ;
exit 1 ;
esac
shift
done
echo ${ignore_database};
exit
if [ "${copies}" = "" ] || [ ! -n "${copies}" ] || [ "${copies}" -le "0" ] ;
then
copies=10 ;