Installing Percona XtraBackup 2.4

This page provides the information on how to install Percona XtraBackup. Following options are available:

Before installing, you might want to read the Percona XtraBackup 2.4 Release Notes.

Installing Percona XtraBackup from Repositories

Percona provides repositories for yum (RPM packages for Red Hat, CentOS and Amazon Linux AMI) and apt (.deb 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 .deb and .rpm packages.

Note

For experimental migrations from earlier database server versions, you will need to backup and restore using XtraBackup 2.4 and then use mysql_upgrade from MySQL 8.0.x

See also

Supported MySQL and Percona Server for MySQL versions in Percona XtraBackup 2.4 and 8.0
About Percona XtraBackup

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 2.4 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.

Note

Make sure that you are using the latest version of Docker. The ones provided via apt and yum may be outdated and cause errors.

Note

By default, Docker will pull the image from Docker Hub if it is not available locally.

The following procedure describes ...