innobackupex 远程备份

# 远程备份
./innobackupex --defaults-file=/etc/my.cnf --no-timestamp -user xxx --host xx.xx.123 --password xxx --stream=tar /tmp | gzip | ssh [email protected] "cat - > /data/backup/20170922.tar.gz"

猜你喜欢

转载自www.cnblogs.com/moss_tan_jun/p/10398604.html