Skip to content

Use an APT repository to install Percona XtraBackup 8.0

Ready-to-use packages are available from the Percona XtraBackup software repositories and the download page.

Specific information on the supported platforms, products, and versions is described in Percona Release Lifecycle Overview.

Important

To prevent intermittent backup failures, update the curl utility in Debian 10.

Install Percona XtraBackup through percona-release

Percona XtraBackup, like many other Percona products, is installed with the percona-release package configuration tool.

  1. Download a DEB package for percona-release the repository packages from Percona web:

    $ wget https://repo.percona.com/apt/percona-release_latest.$(lsb_release -sc)_all.deb
    
  2. Install the downloaded package with dpkg. To do that, run the following commands as root or with sudo: dpkg -i percona-release_latest.$(lsb_release -sc)_all.deb

    Once you install this package the Percona repositories should be added. You can check the repository setup in the /etc/apt/sources.list.d/percona-release.list file.

  3. Enable the repository: 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: percona-release enable-only tools.

  4. Refresh the local cache to update the package information:

    $ sudo apt update
    
  5. Install the percona-xtrabackup-80 package:

    $ sudo apt install percona-xtrabackup-80
    
  6. To decompress backups made using LZ4 or ZSTD compression algorithm, install the corresponding package:

    $ sudo apt install lz4
    
    $ sudo apt install zstd
    

Note

For AppArmor profile information, see Working with AppArmor.

See also

To install Percona XtraBackup using downloaded deb packages, see Install Percona XtraBackup 8.0.

To uninstall Percona XtraBackup, see Uninstall Percona XtraBackup 8.0

Get expert help

If you need assistance, visit the community forum for comprehensive and free database knowledge, or contact our Percona Database Experts for professional support and services.


Last update: 2023-06-30