This bug is still present in version 1.0. Consider the following:
[quote]
./innobackupex-1.5.1 --defaults-file=/home/gnarvaja/sandboxes/rsandbox_5_1_40/master/my.sandbox.cnf ../test/
Version string '' contains invalid data; ignoring: '' at ./innobackupex-1.5.1 line 1610.
InnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, 2009 Innobase Oy.
All Rights Reserved.
This software is published under
the GNU GENERAL PUBLIC LICENSE Version 2, June 1991.
IMPORTANT: Please check that the backup run completes successfully.
At the end of a successful backup run innobackupex-1.5.1
prints "completed OK!".
innobackupex-1.5.1: Using mysql Ver 14.14 Distrib 5.1.37, for debian-linux-gnu (x86_64) using EditLine wrapper
innobackupex-1.5.1: Using mysql server version Copyright 2000-2008 MySQL AB, 2008 Sun Microsystems, Inc.
sh: xtrabackup: not found
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
[/quote]
This bug is still present in version 1.0. Consider the following:
[quote] 1.5.1 --defaults- file=/home/ gnarvaja/ sandboxes/ rsandbox_ 5_1_40/ master/ my.sandbox. cnf ../test/ 1.5.1 line 1610.
./innobackupex-
Version string '' contains invalid data; ignoring: '' at ./innobackupex-
InnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, 2009 Innobase Oy.
All Rights Reserved.
This software is published under
the GNU GENERAL PUBLIC LICENSE Version 2, June 1991.
IMPORTANT: Please check that the backup run completes successfully.
At the end of a successful backup run innobackupex-1.5.1
prints "completed OK!".
innobackupex-1.5.1: Using mysql Ver 14.14 Distrib 5.1.37, for debian-linux-gnu (x86_64) using EditLine wrapper
innobackupex-1.5.1: Using mysql server version Copyright 2000-2008 MySQL AB, 2008 Sun Microsystems, Inc.
sh: xtrabackup: not found
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
[/quote]
... but ...
[quote] file=/home/ gnarvaja/ sandboxes/ rsandbox_ 5_1_40/ master/ my.sandbox. cnf mysqld | grep datadir /home/gnarvaja/ sandboxes/ rsandbox_ 5_1_40/ master/ data
my_print_defaults --defaults_
--datadir=
[/quote]