It looks like the job type is not passed to the FD for ClientRunBeforeJob.

__Martin


>>>>> On Fri, 02 Oct 2020 16:37:48 +0200, news  said:
> 
> Hello!
> 
> I just used %t with ClientRunBeforeJob with a job of type "Backup" and
> level "Full" and noticed that %t expanded as "System or Console".
> 
> According to the documentation, %t should expand as a job type which
> could be Backup, Restore or Admin.
> 
> Related line in the Job configuration looks like this:
> ClientRunBeforeJob = "/etc/bacula/scripts/pre_backup %c %n %t %l 
> support"
> 
> %c, %n and %l are expanding correctly.
> 
> I am currently using Bacula 9.6.5.
> Has anyone else noticed such behavior?
> 
> 
> Regards!
> 
> -- 
> Josip Deanovic
> 
> 
> _______________________________________________
> 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