innobackupex实际调用了xtrabackup来完成备份:
1.使用yum安装xtrabackup:
yum install http://www.percona.com/downloads/percona-release/redhat/0.1-3/percona-release-0.1-3.noarch.rpm
yum install epel-release –y
yum install libev –y
yum install percona-xtrabackup
2.全量备份并将屏幕输出重定向到/tmp/xtrabackup.log方便以后分析:
[[email protected] ~]# innobackupex --defaults-file=/usr/local/mysql/my3317.cnf /tmp/ 2>/tmp/xtrabackup.log
时间: 2024-11-11 14:31:42