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.
innobackupex bash function always invoke innobackupex script with following options:
IB_ARGS= "--defaults- file=${ MYSQLD_ VARDIR} /my.cnf --user=root \ ${MYSQLD_ SOCKET} --ibbackup=$XB_BIN"
--socket=
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.