some fixes

This commit is contained in:
Naum Soloveychik
2020-01-12 23:23:38 +03:00
parent 5a85b6035d
commit 3cb7e0dbd3
2 changed files with 6 additions and 6 deletions

View File

@@ -35,7 +35,7 @@ compress dump using gzip
**-x, --xz**
compress dump using xz
**--xz-threads**
number of worker threads to use by xz
number of worker threads to use by xz. 0 - use all CPU. (default: 2)
**-m, --master**
set master data in dump
**-q, --quiet**
@@ -45,7 +45,7 @@ set pid-file (default: /var/run/mysql_backup.sh.pid)
## Setup script in crontab
`20 01 * * * root /bin/sh /path/to/mysql_backup.sh -d /backup/dir/ -n daily -c 10 -e admin@email.com -z -q -m`
`20 01 * * * root /bin/sh /path/to/mysql_backup.sh -d /backup/dir/ -n daily -c 7 -e admin@email.com -x --xz-threads=6 -q -m`
## .my.cnf example