mysql 远程备份

#远程备份
./innobackupex --defaults-file=/etc/my.cnf --no-timestamp --user xxx --host 192.168.1.123
--password xxxx --stream=tar /tmp |gzip |ssh root@192.168.56.101 "cat - > /data/backup/20180924bak.tar.gz"

原文地址:https://www.cnblogs.com/moss_tan_jun/p/9657731.html