Hi,
Am 10.11.2016 um 21:18 schrieb Douglas K. Rand:
[...]
> job {
> name = "consolidate"
> type = consolidate
> accurate = yes
> max full consolidations = 30
> }
>
> And the error I'm getting from bareos-dir is:
>
> 10-Nov 14:04 bareos-dir JobId 0: Error: "client" directive in Job
> "consolidate" resource is required, but not found.
>
> This is on Bareos 16.2.4.
The client directive is not evaluated by the consolidate job.
However, due to a limitation of the configuration system,
a job resource requires a client (and other directives also, see
documentation), as in the code, each directive have a required flag set
to true or false, independent of the job type.
As the DefaultJob in the default configuration do contain a client,
the example in the documentation works if you start with the default
configuration.
Anyhow, as you are already the second person how did ask the question
(but I think you are the first on the mailing list), I'll add a remark
to the documentation.
Jörg
--
Jörg Steffens [email protected]
Bareos GmbH & Co. KG Phone: +49 221 630693-91
http://www.bareos.com Fax: +49 221 630693-10
Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Komplementär: Bareos Verwaltungs-GmbH
Geschäftsführer:
S. Dühr, M. Außendorf, Jörg Steffens, P. Storz
--
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 post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.