Installing Percona XtraBackup on Red Hat Enterprise Linux and CentOS¶
Ready-to-use packages are available from the Percona XtraBackup software repositories and the download page. The Percona yum repository supports popular RPM-based operating systems, including the Amazon Linux AMI.
The easiest way to install the Percona Yum repository is to install an RPM that configures yum and installs the Percona GPG key.
Specific information on the supported platforms, products, and versions is described in Percona Software and Platform Lifecycle.
What’s in each RPM package?¶
percona-xtrabackup-80 package contains the latest Percona XtraBackup
GA binaries and associated files.
||The debug symbols for binaries in
||The test suite for Percona XtraBackup|
||The older version of the Percona XtraBackup|
Installing Percona XtraBackup from Percona
Install the Percona yum repository by running the following command as the
rootuser or with sudo:
yum install https://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
percona-release enable-only tools.
Install Percona XtraBackup by running:
yum install percona-xtrabackup-80
Make sure that you have the
libev package installed before
installing Percona XtraBackup on CentOS 6. For this operating system, the
libev package is available from the EPEL repositories.
To be able to make compressed backups, install the
$ yum install qpress
Installing Percona XtraBackup using downloaded rpm packages¶
Download the packages of the desired series for your architecture from the download page. The following example downloads Percona XtraBackup 8.0.4 release package for CentOS 7:
$ wget https://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-8.0.4/binary/redhat/7/x86_64/percona-xtrabackup-80-8.0.4-1.el7.x86_64.rpm
Now you can install Percona XtraBackup by running
$ yum localinstall percona-xtrabackup-80-8.0.4-1.el7.x86_64.rpm
When installing packages manually like this, you’ll need to make sure to resolve all the dependencies and install missing packages yourself.
Uninstalling Percona XtraBackup¶
To completely uninstall Percona XtraBackup you’ll need to remove all the
yum remove percona-xtrabackup