What is in the Messages resource for the original Backup job?  I suspect it
will use that instead of the one for the Copy job.

__Martin


>>>>> On Wed, 19 Jan 2022 08:28:50 +0100, Christoph Litauer said:
> 
> Dear bacula-users,
> 
> I am running bacula 9.0.6 on Ubuntu 18.04.6.
> 
> Every night I run Copy jobs to copy the last recent backups from a file to a 
> tape device. Sometimes the scratch pool is empty, no new tapes available.
> In that case I want to receive a mail to label and mount new volumes ... 
> Job and Messages definition appended. Any ideas why 
> bacula-mountreque...@uni-koblenz.de doesn’t get an „Intervention needed“ 
> message?
> 
> Job {
>   Name = "CopyFull"
>   Type = Copy
>   Messages = TapeCopy
>   Pool = Full
>   Selection Type = PoolUncopiedJobs
>   Priority = 15
>   Schedule = Weekdays
>   Max Start Delay = 43200       # wait max 12 hours
>   Maximum Concurrent Jobs = 1
>   Spool Data = no
>   Level = Full
>   Client = bacula
>   FileSet = "client files-to-backup"
> }
> 
> Messages {
>   Name = TapeCopy
>   mailcommand = "/usr/bin/mail -r \"Bacula \<%r\>\" -s \"Bacula tape copy\" 
> %r"
>   operatorcommand = "/usr/bin/mail -r \"Bacula \<%r\>\" -s \"Bacula: 
> Intervention needed for %j\" %r"
>   Mail On Error = bacula-com...@uni-koblenz.de = all, !skipped
>   operator = bacula-mountreque...@uni-koblenz.de = mount
>   append = "/var/log/bacula/copy.log" = all, !skipped
> }
> 
> 
> -- 
> Kind regards
> Christoph
> _________________________________________
> Christoph Litauer
> Uni Koblenz, Computing Centre, Office A 022    
> Postfach 201602, 56016 Koblenz     
> Fon: +49 261 287-1311, Fax: -100 1311
> 
> 
> 
> _______________________________________________
> 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