Skip to content

Install with the Percona-release Tool on Debian-based Systems

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.

Install Percona XtraBackup through percona-release

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

  1. Use the apt package manager to dowload percona-release:

    $ sudo apt update
    
  2. Install the curl download utility if it’s not installed:

    $ sudo apt install curl
    
  3. Download the percona-release the repository package:

    $ curl -O https://repo.percona.com/apt/percona-release_latest.generic_all.deb
    
  4. Install the downloaded package and its dependencies using apt:

    sudo apt install gnupg2 lsb-release ./percona-release_latest.generic_all.deb
    
    5. Refresh the local cache to update the package information:

    $ sudo apt update
    
    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

percona-release enable pxb-80 release percona-release show percona-release setup pxb80 percona-release apt install percona-xtrabackup (This produced an error: Unknown action specified: apt) percona-release apt install -y percona-xtrabackup-pxb-80 (This produced an error: Unknown action specified: apt) apt -y install percona-xtrabackup-80

  1. Install the percona-xtrabackup-pxb-84-lts package:

    $ sudo apt install percona-xtrabackup-pxb-84-lts
    
  2. 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.4.

To uninstall Percona XtraBackup, see Uninstall Percona XtraBackup 8.4

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: 2024-09-13