Use a YUM repository to install Percona XtraBackup¶
Ready-to-use packages are available from the Percona XtraBackup software
repositories and the Percona Software Downloads . The Percona yum repository supports popular RPM-based operating systems, including the Amazon Linux AMI.
Specific information on the supported platforms, products, and versions is described in Percona Software and Platform Lifecycle .
Install Percona XtraBackup from Percona yum repository¶
To install Percona XtraBackup from Percona yum repository, do the following steps:
-
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.rpmExpected output
Oracle Linux 9 BaseOS Latest (x86_64) 8.4 MB/s | 43 MB 00:05 Oracle Linux 9 Application Stream Packages (x86 8.6 MB/s | 47 MB 00:05 Last metadata expiration check: 0:00:06 ago on Wed Dec 11 14:12:54 2024. percona-release-latest.noarch.rpm 62 kB/s | 27 kB 00:00 Dependencies resolved. ... For more information, please visit: https://docs.percona.com/percona-software-repositories/percona-release.html Verifying : percona-release-1.0-29.noarch 1/1 Installed: percona-release-1.0-29.noarch Complete! -
Enable the repository:
sudo percona-release enable pxb-97-ltsExpected output
* Enabling the Percona Packaging Repository repository <*> All done! -
Install Percona XtraBackup.
sudo yum install percona-xtrabackup-97Expected output
Percona Release release/noarch YUM repository 16 kB/s | 2.8 kB 00:00 Percona Packaging Repository release/x86_64 YUM 209 kB/s | 60 kB 00:00 Percona Telemetry release/x86_64 YUM repository 25 kB/s | 5.4 kB 00:00 Dependencies resolved. ... Installing: percona-xtrabackup-97 x86_64 9.7.1-1.rc1.el9 pxb-97-lts-release-x86_64 41 M ... Complete! -
Verify the installation.
xtrabackup --versionExpected output
xtrabackup version 9.7.1-rc1 based on MySQL server 9.7.1 Linux (x86_64) (revision id: b1c9c341) -
To decompress backups made using
LZ4orZSTDcompression algorithm, install the corresponding package:sudo yum install lz4sudo yum install zstd
See also
To install Percona XtraBackup using downloaded rpm packages, see Install with package manager.
To uninstall Percona XtraBackup, see Uninstall Percona XtraBackup