Affects Version/s: None
Fix Version/s: None
**Reported in Launchpad by Fungo Wang last update 10-03-2016 19:04:05
If in invoke innobackupex like this:
innobackupex --defaults-file=/etc/my.cnf --slave-info --lock-wait-timeout=900 --host=127.0.0.1 --port=3306 --user=root --test tmp abc 123
IMPORTANT: Please check that the backup run completes successfully.
At the end of a successful backup run innobackupex
prints "completed OK!".
innobackupex run as nothing wrong, which should failed, cause I supply an unknown option '--test' and two extra arguments 'abc' and '123'.
And I don't think this is expected behaviour.
For 2.2, innnobackex complain error as:
Unknown option: test
innobackupex: got a fatal error with the following stacktrace: at /usr/bin/innobackupex line 4403
main::check_args() called at /usr/bin/innobackupex line 1562
innobackupex: Error: Too many command line arguments
it spit out the unknown option '--test' and complain about extra arguments.
For the extra arguments, I think can be fixed as attechment.