Installing Percona XtraBackup 8.0¶
This page provides the information on how to install Percona XtraBackup. Following options are available:
- Installing Percona XtraBackup from Repositories (recommended)
- Installing Percona XtraBackup from a Binary Tarball
- Installing Percona XtraBackup from Downloaded rpm or apt packages
- Compiling and Installing from Source Code
Before installing, you might want to read the Percona XtraBackup 8.0 Release Notes.
Installing Percona XtraBackup from Repositories¶
Percona provides repositories for yum (
RPM packages for
Red Hat, CentOS and Amazon Linux AMI) and apt (
packages for Ubuntu and Debian) for software such as Percona Server for MySQL,
Percona XtraBackup, and Percona Toolkit. This makes it easy to install and
update your software and its dependencies through your operating system’s
package manager. This is the recommended way of installing Percona XtraBackup.
The following guides describe the installation process for using the official
Percona repositories for
For experimental migrations from earlier database server versions,
you will need to backup and restore using XtraBackup 2.4 and
mysql_upgrade from MySQL 8.0.x
- Supported MySQL and Percona Server for MySQL versions in Percona XtraBackup 2.4 and 8.0
- About Percona XtraBackup
Installing Percona XtraBackup from a Binary Tarball¶
Binary tarballs are available for download and installation.
|Full||percona-xtrabackup-<version number>-Linux.x86_64.glibc2.12.tar.gz||Contains binaries, libraries, test files, and debug symbols|
|Minimal||percona-xtrabackup-<version number>-Linux.x86_64.glibc2.12-minimal.tar.gz||Contains binaries, and libraries but does not include test files, or debug symbols|
Select the Percona XtraBackup 8.0 version number and the type of tarball for your installation. Both binary tarballs support all distributions.
Fetch and extract the correct binary tarball. For example, the following downloads the full tarball:
$ wget https://www.percona.com/downloads/Percona-XtraBackup-8.0/LATEST/percona-xtrabackup-8.0.13-Linux.x86_64.glibc2.12.tar.gz
Compiling and Installing from Source Code¶
Percona XtraBackup is open source and the code is available on Github. The following guide describes the compiling and installation process from source code.
Running Percona XtraBackup in a Docker container¶
Docker images of Percona XtraBackup 8.0 are hosted publicly on Docker Hub at https://hub.docker.com/r/percona/percona-xtradb-cluster/.
For more information about how to use Docker, see the Docker Docs.
Make sure that you are using the latest version of Docker.
The ones provided via
may be outdated and cause errors.
By default, Docker will pull the image from Docker Hub if it is not available locally.
The following procedure describes ...