yum方式安装mysql热备工具XtraBackup


  1. Install the Percona yum repository by running the following command as the root user or with sudo:
    yum installhttps://repo.percona.com/yum/percona-release-latest.noarch.rpm

Enable the repository:
percona-release enable-only tools release

If Percona XtraBackup is intented to be used in combination with the upstream MySQL Server, you only need to enable the toolsrepository:
percona-release enable-only tools

2. Install Percona XtraBackup by running:
yum install percona-xtrabackup-80

 

Warning

Make sure that you have the libev package installed before installing Percona XtraBackup.

The libev package is available from the EPEL repositories.

 

https://www.percona.com/doc/percona-xtrabackup/8.0/index.html