Use a YUM repo to install Percona XtraBackup¶
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.
To check what data each
RPM package contains, see What’s in the packages.
Install Percona XtraBackup from Percona
Install the Percona yum repository by running the following command as the
rootuser or with sudo:
$ sudo yum install \ https://repo.percona.com/yum/percona-release-latest.\ noarch.rpm
Enable the repository:
$ sudo percona-release enable-only tools release
If Percona XtraBackup is intended to be used in combination with the upstream MySQL Server, you only need to enable the `tools repository:
$ sudo percona-release enable-only tools
Install Percona XtraBackup by running:
$ sudo yum install percona-xtrabackup-80
Make sure that you have the
libevpackage installed before installing Percona XtraBackup on CentOS 6. For this operating system, the
libevpackage is available from the EPEL repositories.
To be able to make compressed backups, install the
$ yum install qpress
To decompress backups made using
ZSTDcompression algorithm, install the
$ yum install zstd
To install Percona XtraBackup using downloaded rpm packages, see Install with package manager.
To uninstall Percona XtraBackup, see Uninstall Percona XtraBackup