Comment 0 for bug 1072695

Revision history for this message
Sergei Glushchenko (sergei.glushchenko) wrote : XtraBackup test framework force to use original my.cnf during prepare and copy back

innobackupex bash function always invoke innobackupex script with following options:

IB_ARGS="--defaults-file=${MYSQLD_VARDIR}/my.cnf --user=root \
--socket=${MYSQLD_SOCKET} --ibbackup=$XB_BIN"

which is incorrect in the case of prepare and copy back, when backup-my.cnf should be used (--defaults-file option overrides default backup-my.cnf).

This cause some problems when we want to test backup-my.cnf, or when we have not identical default my.cnf and backup-my.cnf, for example when we deal with separate doublewrite file.