Hi Jon, yes a JobDefs can reference a JobDefs see https://docs.bareos.org/bareos-23/Configuration/Director.html#config-Dir_Job_JobDefs but also take into account the restriction about some parameter that will not be replaced but added ;-)
I personally prefer to have dedicated jobdefs with only one level to simplify the human comprehension of the configuration ;-) On Wednesday 23 October 2024 at 20:34:10 UTC+2 Jon Schewe wrote: > I found that I can have a Job reference a JobDefs defs1 and that > reference JobDefs defs2 and that appears to work. > However having a Job reference JobDefs defs1 which references JobDefs > defs2 which references JobDefs defs3. > > Is it expected that a JobDefs can reference another JobDefs? > If yes, is it expected that nesting more than 1 level doesn't work? > > Having this nesting is handy to avoid duplicating configuration data, > however I understand that this may be hard to implement. > > > Jon > > -- 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 [email protected]. To view this discussion visit https://groups.google.com/d/msgid/bareos-users/553e5191-38d6-4de4-b54e-73781abd7d13n%40googlegroups.com.
