Skip to content
Starting November 2023 Percona XtraBackup 2.4 has reached EOL status. If you have 5.7 databases, we encourage you to upgrade to 8.0 and then install Percona XtraBackup 8.0. Learn more

logo
Percona XtraBackup
Installing Percona XtraBackup from a Binary Tarball
Initializing search
    percona/pxb-docs
    percona/pxb-docs
    • Home
      • About Percona XtraBackup
      • How Percona XtraBackup Works
      • Understand version numbers
      • Installing Percona XtraBackup 2.4
      • Installing Percona XtraBackup on Debian and Ubuntu
      • Installing Percona XtraBackup on Red Hat Enterprise Linux and CentOS
      • Installing Percona XtraBackup from a Binary Tarball
      • Compiling and Installing from Source Code
      • Running Percona XtraBackup in a Docker container
      • Connection and Privileges Needed
      • Configuring xtrabackup
      • The Backup Cycle - Full Backups
      • Incremental Backup
      • Compressed Backup
      • Encrypted Backup
      • Percona XtraBackup User Manual
      • Throttling Backups
      • Lockless binary log information
      • Encrypted InnoDB Tablespace Backups
      • lock-ddl-per-table Option Improvements
      • How-tos and Recipes
        • Release notes index
        • Percona XtraBackup 2.4.29 (2023-12-18)
        • Percona XtraBackup 2.4.28 (2023-04-04)
        • Percona XtraBackup 2.4.27 (2022-12-06)
        • Percona XtraBackup 2.4.26
        • Percona XtraBackup 2.4.25
        • Percona XtraBackup 2.4.24
        • Percona XtraBackup 2.4.23
        • Percona XtraBackup 2.4.22
        • Percona XtraBackup 2.4.21
        • Percona XtraBackup 2.4.20
        • Percona XtraBackup 2.4.19
        • Percona XtraBackup 2.4.18
        • Percona XtraBackup 2.4.17
        • Percona XtraBackup 2.4.16
        • Percona XtraBackup 2.4.15
        • Percona XtraBackup 2.4.14
        • Percona XtraBackup 2.4.13
        • Percona XtraBackup 2.4.12
        • Percona XtraBackup 2.4.11
        • Percona XtraBackup 2.4.10
        • Percona XtraBackup 2.4.9
        • Percona XtraBackup 2.4.8
        • Percona XtraBackup 2.4.7-2
        • Percona XtraBackup 2.4.7
        • Percona XtraBackup 2.4.6
        • Percona XtraBackup 2.4.5
        • Percona XtraBackup 2.4.4
        • Percona XtraBackup 2.4.3
        • Percona XtraBackup 2.4.2
        • Percona XtraBackup 2.4.1
      • The xtrabackup Option Reference
      • The innobackupex Option Reference
      • The xbcloud Binary
      • Exponential Backoff
      • Using the xbcloud binary with Microsoft Azure Cloud Storage
      • The xbcrypt binary
      • The xbstream binary
      • Known issues and limitations
      • Frequently Asked Questions
      • Glossary
      • Index of files created by Percona XtraBackup
      • Trademark policy
      • Copyright and licensing information
      • Version Checking

    Installing Percona XtraBackup from a Binary Tarball¶

    Note

    The following instructions install Percona XtraBackup 2.4 by downloading and installing a binary tarball. The instructions to install Percona XtraBackup 8.0 by the same method are available in the Percona XtraBackup 8.0 installation documentation.

    Percona provides binary tarballs of Percona XtraBackup. Binary tarballs contain pre-compiled executables, libraries, and other dependencies and are compressed tar archives. Extract the binary tarballs to any path.

    Binary tarballs are available for download and installation. The following table lists the tarballs available in Linux - Generic. Select the Percona XtraBackup 2.4 version number and the type of tarball for your installation. Binary tarballs support all distributions.

    After you have downloaded the binary tarballs, extract the tarball in the file location of your choice.

    Type Name Description
    Full percona-xtrabackup–Linux.x86_64.glibc2.12.tar.gz Contains binaries, libraries, test files, and debug symbols
    Minimal percona-xtrabackup–Linux.x86_64.glibc2.12-minimal.tar.gz Contains binaries, and libraries but does not include test files, or debug symbols

    Fetch and extract the correct binary tarball. For example, the following downloads the full tarball for version 2.4.24:

    You may need to update the apt repositories and then install wget.

    $ apt update
    $ apt install wget
    
    $ wget wget https://downloads.percona.com/downloads/Percona-XtraBackup-2.4/Percona-XtraBackup-2.4.27/binary/tarball/percona-xtrabackup-2.4.27-Linux-x86_64.glibc2.12.tar.gz
    
    Expected results
      --2022-12-06 17:01:29--  https://downloads.percona.com/downloads/Percona-XtraBackup-2.4/Percona-XtraBackup-2.4.27/binary/tarball/percona-xtrabackup-2.4.27-Linux-x86_64.glibc2.12.tar.gz
      Resolving downloads.percona.com (downloads.percona.com)... 74.121.199.231, 162.220.4.221, 162.220.4.222
      Connecting to downloads.percona.com (downloads.percona.com)|74.121.199.231|:443... connected.
      HTTP request sent, awaiting response... 200 OK
      Length: 77216741 (74M) [application/x-gzip]
      Saving to: 'percona-xtrabackup-2.4.27-Linux-x86_64.glibc2.12.tar.gz'
    

    Uncompress the file:

    $ tar xvf percona-xtrabackup-2.4.27-Linux-x86_64.glibc2.12.tar.gz
    
    Expected results
    percona-xtrabackup-2.4.27-Linux-x86_64.glibc2.12/
    percona-xtrabackup-2.4.27-Linux-x86_64.glibc2.12/man/
    percona-xtrabackup-2.4.27-Linux-x86_64.glibc2.12/man/man1/
    percona-xtrabackup-2.4.27-Linux-x86_64.glibc2.12/man/man1/xtrabackup.1
    percona-xtrabackup-2.4.27-Linux-x86_64.glibc2.12/man/man1/xbstream.1
    percona-xtrabackup-2.4.27-Linux-x86_64.glibc2.12/man/man1/xbcrypt.1
    ...
    

    An installation from a binary tarball requires doing certain tasks manually, such as configuring settings, and policies, that a repository package installation performs automatically.

    Contact us

    For free technical help, visit the Percona Community Forum.

    To report bugs or submit feature requests, open a JIRA ticket.

    For paid support and managed or consulting services , contact Percona Sales.

    2022-12-06
    Percona LLC and/or its affiliates, © 2024 Cookie Preferences
    Made with Material for MkDocs