New Features: Percona XtraBackup now reads server options from SHOW VARIABLES rather than my.cnf configuration file. Percona XtraBackup now has more verbose output during initial table scan (it will now print a diagnostic message before performing a tablespace scan, which may take a long time on systems with large numbers of tablespaces) and before starting a backup/apply-log/copy-back operation in innobackupex (it will now print a diagnostic message with a timestamp to make it easier for users to get duration of the operation.) Bugs Fixed: innobackupex didn’t take the default datadir, which caused backups to fail if the datadir wasn’t specified in the my.cnf configuration file. Bug fixed #936934. innobackupex will now fail with an error when innobackupex –slave-info is used on a multi-threaded non-GTID slave, because Exec_Master_Log_Pos cannot be trusted for a multi-threaded slave. Bug fixed #1372679. InnoDB log scanning failure (bug #60788) would cause backups to fail. Fixed by porting the fix from MySQL 5.7. Bug fixed #1375383. Options --apply-log and --decompress weren’t marked as mutually exclusive, ie. if they were both specified, only --decompress would work, which could lead to MySQL instance being started with an unprepared backup. Fixed by making mutually exclusive categories of options: 1. --decompress, --decrypt; 2. --copy-back; 3. --move-back; 4. --apply-log. Bug fixed #1376874. innobackupex wasn’t creating directories specified in innodb_data_home_dir and innodb_log_group_home_dir when --copy-back option was used. Bug fixed #1382347. Percona XtraBackup now supports all option modifiers supported by upstream MySQL: skip, disable, enable, maximum, loose. Bug fixed #664128. Percona XtraBackup would fail to perform a full backup on Percona Server 5.5 if innodb_log_file_size variable wasn’t set in the [mysqld] section of my.cnf. Bug fixed #1334062. Other bugs fixed: #1379905, #1386013, #1072695, #1375241, #1182841, and #1343722.
--- /usr/portage/dev-db/xtrabackup-bin/xtrabackup-bin-2.2.5.ebuild 2014-10-19 11:57:03.000000000 +0200 +++ xtrabackup-bin-2.2.6.ebuild 2014-12-10 06:05:57.181663715 +0100 @@ -5,7 +5,7 @@ EAPI=5 MY_PN="percona-${PN/-bin}" -MY_PVR="${PV}-5027" +MY_PVR="${PV}-5042" MY_P="${MY_PN}-${PV}" MY_PF="${MY_PN}-${MY_PVR}"
I've just tested the version with MariaDB 10.0, master-slave replication with Tungsten replicator. I've done a consistency checking on all data (10GB), both the same.
--- /usr/portage/dev-db/xtrabackup-bin/xtrabackup-bin-2.2.5.ebuild 2015-02-25 10:01:05.000000000 -0600 +++ xtrabackup-bin-2.2.9.ebuild 2015-03-16 12:04:58.854139244 -0500 @@ -5,7 +5,7 @@ EAPI=5 MY_PN="percona-${PN/-bin}" -MY_PVR="${PV}-5027" +MY_PVR="${PV}-5067" MY_P="${MY_PN}-${PV}" MY_PF="${MY_PN}-${MY_PVR}" @@ -16,10 +16,10 @@ HOMEPAGE="http://www.percona.com/software/percona-xtrabackup" SRC_URI=" amd64? ( - http://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-${PV}/binary/tarball/${MY_PF}-Linux-x86_64.tar.gz + http://www.percona.com/downloads/XtraBackup/XtraBackup-${PV}/binary/tarball/${MY_PF}-Linux-x86_64.tar.gz ) x86? ( - http://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-${PV}/binary/tarball/${MY_PF}-Linux-i686.tar.gz + http://www.percona.com/downloads/XtraBackup/XtraBackup-${PV}/binary/tarball/${MY_PF}-Linux-i686.tar.gz )" LICENSE="GPL-2"
--- /usr/portage/dev-db/xtrabackup-bin/xtrabackup-bin-2.2.5.ebuild 2015-02-25 17:01:05.000000000 +0100 +++ xtrabackup-bin-2.2.10.ebuild 2015-04-22 13:29:57.811544678 +0200 @@ -1,13 +1,10 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/xtrabackup-bin/xtrabackup-bin-2.2.5.ebuild,v 1.3 2015/02/25 15:45:24 ago Exp $ EAPI=5 MY_PN="percona-${PN/-bin}" -MY_PVR="${PV}-5027" MY_P="${MY_PN}-${PV}" -MY_PF="${MY_PN}-${MY_PVR}" inherit eutils @@ -16,15 +13,15 @@ HOMEPAGE="http://www.percona.com/software/percona-xtrabackup" SRC_URI=" amd64? ( - http://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-${PV}/binary/tarball/${MY_PF}-Linux-x86_64.tar.gz + http://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-${PV}/binary/tarball/${MY_P}-Linux-x86_64.tar.gz ) x86? ( - http://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-${PV}/binary/tarball/${MY_PF}-Linux-i686.tar.gz + http://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-${PV}/binary/tarball/${MY_P}-Linux-i686.tar.gz )" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="~amd64 ~x86" IUSE="" DEPEND=""
Tested with 2.2.11 and the tool is working properly so far: xtrabackup-bin-2.2.11.ebuild: # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-db/xtrabackup-bin/xtrabackup-bin-2.2.5.ebuild,v 1.3 2015/02/25 15:45:24 ago Exp $ EAPI=5 MY_PN="percona-${PN/-bin}" MY_P="${MY_PN}-${PV}" inherit eutils DESCRIPTION="MySQL hot backup software that performs non-blocking backups for InnoDB and XtraDB databases" HOMEPAGE="http://www.percona.com/software/percona-xtrabackup" SRC_URI=" amd64? ( http://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-${PV}/binary/tarball/${MY_P}-Linux-x86_64.tar.gz ) x86? ( http://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-${PV}/binary/tarball/${MY_P}-Linux-i686.tar.gz )" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="" RDEPEND="dev-libs/libaio || ( dev-libs/libgcrypt:0/11 dev-libs/libgcrypt:11/11 ) dev-libs/libgpg-error dev-perl/DBD-mysql sys-libs/zlib" if use amd64; then S="${WORKDIR}/${MY_P}-Linux-x86_64" elif use x86; then S="${WORKDIR}/${MY_P}-Linux-i686" fi src_prepare() { # bug 501904 - CVE-2014-2029 epatch "${FILESDIR}/${PN}-2.2.11-no-versioncheck.patch" } src_install() { for bin in innobackupex xbcrypt xbstream xtrabackup; do dobin bin/${bin} done } pkg_postinst() { einfo "xtrabackup 2.2.x is for MySQL/MariaDB 5.6 only" } files/xtrabackup-bin-2.2.11-no-versioncheck.patch: diff --git a/bin/innobackupex b/bin/innobackupex index a3b4602..c6dd153 100755 --- a/bin/innobackupex +++ b/bin/innobackupex @@ -148,7 +148,7 @@ my $option_rebuild_threads = 0; my $option_debug_sleep_before_unlock = ''; -my $option_version_check = '1'; +my $option_version_check = '0'; my $option_force_non_empty_dirs = '';
On August 3rd, I installed XtraBackup 2.2.12 using the ebuild provided in this bug report. Has been working fine so far!
2.2.12 has just been added. Thanks! Please always attach patches as attachments. Thanks!