Choosing the Right Binary

The xtrabackup binary actually exists as four separate binaries: xtrabackup, xtrabackup_51, xtrabackup_55 and xtrabackup_56. This is to ensure binary compatibility of InnoDB data files across releases. Which binary you should use depends on the version of the server that produced the data files you want to back up. It’s important to use the correct binary. Whichever binary is used to create a backup should also be the binary used to prepare that backup.

Throughout the documentation, whenever the xtrabackup binary is mentioned, it’s assumed that the name of the correct binary will be substituted. The following table summarizes which binary should be used with different server versions.

Server xtrabackup binary
MySQL 5.0.* xtrabackup_51
MySQL 5.1.* xtrabackup_51
MySQL 5.1.* with InnoDB plugin xtrabackup
MySQL 5.5.* xtrabackup_55
MySQL 5.6.* xtrabackup_56
MariaDB 5.1.* xtrabackup
MariaDB 5.2.* xtrabackup
MariaDB 5.3.* xtrabackup
MariaDB 5.5.* xtrabackup_55
MariaDB 10.0.* xtrabackup_56
Percona Server 5.0 xtrabackup_51
Percona Server 5.1 xtrabackup
Percona Server 5.5 xtrabackup_55
Percona Server 5.6 xtrabackup_56

Previous topic

The xtrabackup Binary

Next topic

Configuring xtrabackup