Hi Gilberto

You can create a new Message resource and in Job set the Message Resource:


Messages {
  Name = Restore
  mailcommand = "/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s
\"Bacula: %t %e of %c %l\" %r"
  operatorcommand = "/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s
\"Bacula: Intervention needed for %j\" %r"
  mail = root@localhost = all, !skipped
  operator = root@localhost = mount
  console = all, !skipped, !saved
  append = "/etc/bacula/log/bacula.log" = all, !skipped
  catalog = all, !skipped, !saved
}


Job {
  Name = "Restore_Files"
  Type = Restore
  Client = srv_bacula-fd
  FileSet= "FileSet_Padrao"
  Storage = "StorageLocal"
  Pool = "Pool-Default"
  Messages = Restore
  Where = "/bacula_restore"
  Enabled = no
}


Best Regards
Wanderlei

2015-12-14 16:37 GMT-02:00 Gilberto Nunes <gilberto.nune...@gmail.com>:

> Hello list
>
> I google it, but found nothing usuful, so far...
> I wonder how can I customize the message resource just to restore jobs..
> You know! Like Standard message, but only for restore notification
> purpose...
> Any advice?
>
> Thanks a lot
>
> Best Regards
>
> Gilberto
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
2015-12-14 16:37 GMT-02:00 Gilberto Nunes <gilberto.nune...@gmail.com>:

> Hello list
>
> I google it, but found nothing usuful, so far...
> I wonder how can I customize the message resource just to restore jobs..
> You know! Like Standard message, but only for restore notification
> purpose...
> Any advice?
>
> Thanks a lot
>
> Best Regards
>
> Gilberto
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to