Skip to content

Overview

Percona XtraBackup is a 100% open source backup solution for all versions of Percona Server for MySQL and MySQL® that performs online non-blocking, tightly compressed, highly secure full backups on transactional systems.

We recommend using Docker to quickly start with Percona XtraBackup. This Quickstart guide focuses on this installation method. You can explore alternative options in the Install section.

Why to start Percona XtraBackup in a Docker container

Docker containers are built from Docker images, which are snapshots of the configuration needed to run applications, such as the code and libraries. With Docker, you can build, deploy, run, update, and manage containers, which isolate applications from the host system. A Docker container lets you work with Percona XtraBackup without installing the product on a local drive.

Purpose of the Quickstart

This section provides the basic steps to start Percona XtraBackup in a Docker container, take a backup, prepare a backup, and restore a backup of Percona Server for MySQL database.

You are welcome to change the names of any items in commands. If you do, the results may vary from those we provide in this Quickstart guide.

In this section, container refers to the Docker container, and instance refers to the database server in the container.

Prerequisites

To take a backup of Percona Server for MySQL, run Percona Server for MySQL in a Docker container and create a database and a table.

Limitations

Percona XtraBackup 8.0 does not support making backups of databases created in versions before the 8.0 series of MySQL, Percona Server for MySQL, or Percona XtraDB Cluster or versions greater than 8.0, such as the 8.1 Innovation release.

Supported versions

Check the latest list of all Supported versions.

Supported servers

Percona XtraBackup 8.0 can back up data stored on MySQL servers, Percona Server for MySQL, and Percona XtraDB Cluster.

Supported storage engines

Percona XtraBackup 8.0 can back up data from InnoDB, XtraDB, MyISAM, and MyRocks tables.

Steps to perform

In this Quickstart, you will learn how to:

  1. Start a Docker container and take a backup
  2. Restore a backup
  3. Clean up
  4. Choose your next steps

Next steps

Start a Docker container and take a backup

Need help?

Dive into our active community forum, where you can connect with fellow database enthusiasts, share experiences, and learn from experts.

For those seeking in-depth guidance and tailored solutions, our team of Percona Database Experts is ready to assist you.


Last update: 2024-10-08