Announcement

Announcement Module
Collapse
No announcement yet.

less verbosity for innobackupex

Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • less verbosity for innobackupex

    We create our backups from Percona Server with innobackupex in a daily cron job. It seems, that backup succeeded ("130821 15:18:34 innobackupex: completed OK!"), 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.

  • #2
    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:
    Code:
    [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!

    Comment

    Working...
    X