innobackupex-1.5.1 should recognize mariadb database versions

Bug #733665 reported by Swany
50
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Fix Released
Wishlist
Alexey Kopytov
2.0
Fix Released
Wishlist
Alexey Kopytov
2.1
Fix Released
Wishlist
Alexey Kopytov

Bug Description

from http://blogs.skysql.com/2011/03/using-xtrabackup-and-incremental.html:

Use of uninitialized value $option_ibbackup_binary in concatenation (.) or string at ./bin/innobackupex-1.5.1 line 2140.
Can't exec "--print-param": No such file or directory at ./bin/innobackupex-1.5.1 line 2141.
innobackupex-1.5.1: fatal error: no 'mysqld' group in MySQL options
innobackupex-1.5.1: fatal error: OR no 'datadir' option in group 'mysqld' in MySQL options

So that's odd, $option_ibbackup_binary isn't being set? It should be set to what xtrabackup (or ibbackup) binary to use. Odd.

Related branches

Changed in percona-xtrabackup:
importance: Undecided → Wishlist
assignee: nobody → Valentine Gostev (core-longbow)
tags: added: low-hanging-fruit
Changed in percona-xtrabackup:
assignee: Valentine Gostev (longbow) → nobody
Revision history for this message
Daniël van Eeden (dveeden) wrote :

The test now runs against MariaDB 5.2/5.3

$ ./run.sh
Running against MariaDB 5.3.2-MariaDB-beta (XtraDB 1.0.15-12.7)
Using 'xtrabackup' as xtrabackup binary

========================================================================
t/bug606981.sh [passed]
t/bug723097.sh [passed]
t/bug723318.sh [passed]
t/bug766607.sh [passed]
t/bug810269.sh [passed]
t/ib_csm_csv.sh [passed]
t/ib_incremental.sh [passed]
t/ib_specialchar.sh [passed]
t/tar4ibd_symlink.sh [passed]
t/xb_basic.sh [passed]
t/xb_defaults_file.sh [passed]
t/xb_export.sh [passed]
t/xb_incremental_compressed.sh [passed]
t/xb_incremental.sh [passed]
t/xb_log_overwrap.sh [passed]
t/xb_parallel.sh [passed]
t/xb_partial.sh [passed]
t/xb_part_range.sh [passed]
t/xb_stats.sh [passed]
t/xb_stream.sh [passed]
t/xb_version.sh [passed]
========================================================================

$ ./run.sh
Running against MariaDB 5.2.7-MariaDB (XtraDB 1.0.15-12.7)
Using 'xtrabackup' as xtrabackup binary

========================================================================
t/bug606981.sh [passed]
t/bug723097.sh [passed]
t/bug723318.sh [passed]
t/bug766607.sh [passed]
t/bug810269.sh [passed]
t/ib_csm_csv.sh [passed]
t/ib_incremental.sh [passed]
t/ib_specialchar.sh [passed]
t/tar4ibd_symlink.sh [passed]
t/xb_basic.sh [passed]
t/xb_defaults_file.sh [passed]
t/xb_export.sh [passed]
t/xb_incremental_compressed.sh [passed]
t/xb_incremental.sh [passed]
t/xb_log_overwrap.sh [passed]
t/xb_parallel.sh [passed]
t/xb_partial.sh [passed]
t/xb_part_range.sh [passed]
t/xb_stats.sh [passed]
t/xb_stream.sh [passed]
t/xb_version.sh [passed]
========================================================================

Revision history for this message
Stewart Smith (stewart) wrote :

great! if you can modify the bootstrap.sh script and the build script to compile against the correct version and run tests against the right version, we can look at adding it to our regression system in jenkins

Changed in percona-xtrabackup:
assignee: nobody → Daniël van Eeden (dveeden)
Revision history for this message
Daniël van Eeden (dveeden) wrote :

It will now complile against MariaDB 5.3

 Makefile | 38 +
 innobackupex | 4
 patches/mariadb53.patch | 1262 ++++++++++++++++++++++++++++++++++++++++++++++++
 test/bootstrap.sh | 33 +
 test/run.sh | 15
 utils/build.sh | 33 +
 xtrabackup.c | 4
 7 files changed, 1377 insertions(+), 12 deletions(-)

Stewart Smith (stewart)
Changed in percona-xtrabackup:
status: New → Incomplete
status: Incomplete → Triaged
Revision history for this message
Walter Heck (walterheck) wrote :

I wouldn't mind seeing this fix released, I still have problems with the latest 1.6.4 on lenny against mariadb 5.2.10

Revision history for this message
p4guru (p4guru) wrote :

Can confirm Walter statement, MariaDB 5.2.10 doesn't work out of the box with CentOS 6.2 64bit and Percona XtraBackup 1.6.4 rev 314

Revision history for this message
Vadim Tkachenko (vadim-tk) wrote :

MariaDB is not in the official list of supported databases. The bug is to stay in Wishlist until we decide to change that.

Revision history for this message
Colin Charles (ccharles) wrote :

Vadim, from http://www.percona.com/software/percona-xtrabackup/: "XtraBackup makes MySQL hot backups for all versions of Percona Server, MySQL, MariaDB, and Drizzle."

Has this changed in such a way we need to support xtrabackup in MariaDB?

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXB-973

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.