官方安装文档:
https://www.percona.com/doc/percona-xtrabackup/LATEST/installation/yum_repo.html
方式一 通过yum安装
1 使用root用户 或者 拥有sudo权限的用户安装percona的yum 源
yum install https://repo.percona.com/yum/percona-release-latest.noarch.rpm
2 安装 2.4版本的xtrabackup
yum install percona-xtrabackup-24
3 验证
xtrabackup --version
官方文档 https://www.percona.com/doc/percona-xtrabackup/2.4/index.html
方式二 下载安装包安装
1 下载
wget https://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-2.4.12/binary/redhat/6/x86_64/percona-xtrabackup-24-2.4.12-1.el6.x86_64.rpm
2 安装
yum install percona-xtrabackup-24-2.4.12-1.el6.x86_64.rpm
安装成功
[root@mysql-back ~]# rpm -qa |grep percona
percona-xtrabackup-24-2.4.12-1.el6.x86_64