Not the answer you need?
Register and ask your own question!

less verbosity for innobackupex

rabudderabudde EntrantInactive User Role Beginner
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.

Comments

  • przemekprzemek Percona Support Engineer Percona Staff Role
    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!
    
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.