less verbosity for innobackupex

We create our backups from Percona Server with innobackupex in a daily cron job. It seems, that backup succeeded (", but after completion we get a huge e-mail containing megabytes of debug/log output from innobackupex. Is there a way to make innobackupex less verbose or to send a mail only on failure? I don’t want to use “2>&1” in cron job, because this supresses failures also.

No such option unfortunately. Why don’t you send the whole output to a log file and only errors and last status to the standard output though? Like this:

[root@lap-prz]# innobackupex --password=xxx /home/backups/ 2>&1|tee innobackupex.log|egrep "ERROR|innobackupex: completed OK"
130823 13:24:28 innobackupex: completed OK!