Hmm...

At first glance it looks as if it should work.

I'd try setting "wider" mail configuration (like similar to the logfile  one - "all, !skipped, !saved, !audit") and see if I get all the emails.

I assume you're perfectly positive there's no problem with emails themselves (like some overzealous spam filter or something like that), right?


On 24.09.2020 09:06, DUCARROZ Birgit wrote:
Hi, this is how my job ressource is configured. Am I missing something?

JobDefs {
  Name = "users"
  Type = Backup
  Level = Full
  Client = lx85
  FileSet = "users" (#13)
  Schedule = "03-09"
  Storage = Tape
  Messages = Standard
  Pool = users
  Priority = 1
  Write Bootstrap = "/euronas/data/bareos-tape-srv-db-and-bsr/%c.bsr"
  Full Backup Pool = users
  Allow Duplicate Jobs = no
  Cancel Lower Level Duplicates = yes
  Cancel Queued Duplicates = yes
  RunAfterJob = "/bin/mt -f /dev/tape/by-id/scsi-350050763121460f3-nst eject"
}


On 23/09/20 19:54, Spadajspadaj wrote:
You have the messages configuration but do you have it attached to the appropriate job resource?


On 23.09.2020 12:19, 'birgit.ducarroz' via bareos-users wrote:
Hi, no one can help me?

birgit.ducarroz schrieb am Montag, 14. September 2020 um 11:32:42 UTC+2:

    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

--
You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+unsubscr...@googlegroups.com <mailto:bareos-users+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/adbbd431-d144-48c0-85e5-f2683891b790n%40googlegroups.com <https://groups.google.com/d/msgid/bareos-users/adbbd431-d144-48c0-85e5-f2683891b790n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+unsubscr...@googlegroups.com <mailto:bareos-users+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/8695befb-a390-fbed-ba11-ef545f1f88c7%40gmail.com <https://groups.google.com/d/msgid/bareos-users/8695befb-a390-fbed-ba11-ef545f1f88c7%40gmail.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/e6144174-6894-0fa4-81fa-baf1e0b1e72e%40gmail.com.

Reply via email to