Hi,
I would like to receive an e-mail when a cartridge is full and I need to
insert a new one, but I wonder why I do not get the following messages
by mail:
"bareos-sd JobId 12: Please mount append Volume "users-0005" or label a
new one for:
Job: users.2020-09-11_13.11.37_17
Storage: "LTO7-Tape-Drive" (/dev/tape/by-id/scsi-350050763121460f3-nst)"
When restoring, I got the following e-mail, so this seems to work...
"10-Sep 15:33 bareos-sd JobId 9: Please mount read Volume "WORM-0003" for:
Job: RestoreFiles.2020-09-10_15.33.47_55"
I re-checked the doc here, but I cannot figure out what is going wrong.
https://docs.bareos.org/bareos-18.2/Configuration/Messages.html
This is my Standard Mail Config:
Messages {
Name = Standard
Description = "Reasonable message delivery -- send most everything to
email address and to the console."
operatorcommand = "/usr/bin/bsmtp -h root@localhost -f\"\(Bareos
lx85\) \<%r\>\" -s \"Bareos lx85: Intervention needed for %j\" %r"
mailcommand = "/usr/bin/bsmtp -h root@localhost -f \"\(Bareos lx85\)
\<%r\>\" -s \"Bareos lx85: %t %e of %c %l\" %r"
operator = root@localhost = mount #
mail = root@localhost = warning, error, fatal, mount, notsaved,
restored, security, alert, volmgmt
console = all, !skipped, !saved, !audit
append = "/var/log/bareos/bareos.log" = all, !skipped, !saved, !audit
catalog = all, !skipped, !saved, !audit
}
Can someone give me a hint please?
Thank you in advance,
Birgit