Discussion:
[bareos-users] Include conf files
Dakota Pilot
2018-10-06 00:27:16 UTC
Permalink
I wanted to try and simplify some configuration and reduce clients for say servers so I looked into the @ include for config files. I read the Bareos docs and unfortunately in this instance they are not up to their usual standard and simply say do this. What I found on the web was either for older versions of Bacula or simply parroted the Bareos manual.

@/etc/pathto/client.conf

Okay, so what goes in client.conf??? I created a Servers.conf client file

Client {
Name = Servers
Address = something
@/etc/pathtoclient.conf/client.conf
}

In client.conf I tried putting just


address = servername
password = "thepassword"

That seems to work. But how can I add the other servers to the list. I tried several items. If I add another server to the client.conf it only the first sever is used in the client file.

I tried putting multiple Client {} definitions in the client file and using the @ for each client but Bareos did not like that.

So can I use the @include on client files or will it only work on other things like maybe filesets?

Thanks.
--
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 bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...