Cron bash script virtnbdbackup | mail only if error? #171
slu-010101
started this conversation in
General
Replies: 2 comments
-
you can disable progressbar with --noprogress or use --quiet, it disables logging output but will exit with error code accordingly, as such you can script around to send logfile if backup fails. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for the hint, --noprogress make sense. --quiet is much so quiet for me, I like to see some details* for example:
*This is more an enhancement, I know. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
do anyone use virtnbdbackup with a cronjob?
I start virtnbdbackup in my bash script, but every start produce a long and "unreadable" cron mail:
Version 2.4 with info log level, I need only a mail from cron if something is wrong/failed.
Or some short overview, backup type (full,inc,...) and amount of data in the backup...
Beta Was this translation helpful? Give feedback.
All reactions