Comment 1 for bug 936934

Revision history for this message
Cormac (cormac-mcgaughey) wrote :

Can you try using:

 innobackupex --ibbackup=xtrabackup backups/

I've found this and it's not picking the binary up correctly on Centos 6

Testing using:
env PERLDB_OPTS="NonStop=1 AutoTrace=1 frame=2" perl -dS /usr/bin/innobackupex --defaults-file=/etc/my.cnf /backup

This happens (several hundred lines snipped):
2174: if ($option_defaults_file) {
2175: $options = $options . " --defaults-file=\"$option_defaults_file\" ";
2178: $options = $options . "--print-param";
2183: $cmdline = "$option_ibbackup_binary $options";
2184: @lines = `$cmdline`;

It ended up execing:

--defaults-file="/etc/mysql/bluebox.cnf" --print-param

and threw this error.

The problem can be found in sub read_config_file where it's not correctly picking up the binary properly.