下载
https://launchpad.net/mydumper
编译安装
cmake .
make
make install
Mydumper备份
mydumper
--user=root
--password='123456'
--socket=/tmp/mysql3306.sock
--regex '^(?!(mysql))'
--outputdir=/u01/backup/
--compress
--verbose=3
--logfile=/apps/backup/mydumper.log