The content of /etc/bareos/bareos-fd.conf and the files in /etc/bareos/bareos-fd.d/*/*.conf is identical, just splitted in different files. So if its works with /etc/bareos/bareos-fd.conf it has to work with the directory structure.

However, the error you mention in your email indicates, that there are several client resources. Please check just and specify only 1 client resource.

grep -ri ^Client /etc/bareos/bareos-fd.d/*/*.conf

should only list one file.
Please be aware, that /etc/bareos/bareos-fd.d/client/myself.conf might be recreated on package updates. If you want to delete it, replace it with an empty file.

Regards,
Jörg


On 20.04.23 at 13:46 wrote Schroeffu:
Heyho Bareos Admins

Got anybody FileDaemon Encryption (before sending to Storage) working with the new subdirectory structure? It's not working here:

bareos-fd[1938066]: 20-Apr 13:41 vm-mumble-test-01-fd: ERROR in filed/filed.cc:205 Please correct configuration file: /etc/bareos/bareos-fd.d/*/*.conf bareos-fd[1938066]: Only one Client resource permitted in /etc/bareos/bareos-fd.d/*/*.conf

I am trying to setup the Bareos Encryption on FileDaemon level, but it only works when I create /etc/bareos/bareos-fd.conf with Director {}, FileDaemon {}, Messages {}, configured, so all the configuration in one file. But since bareos 16+ we've the subfolder structure which i would like to use. But in which subdirectory+subfile can i place this encryption configuration <https://docs.bareos.org/TasksAndConcepts/DataEncryption.html#example-data-encryption-configurations-bareos-fd-conf>?

I tried to add the Encryption Configuration FileDaemon {} in myself.conf = not working. (error msg above) I tried to add the Encryption Configuration FileDaemon {} to a new file in new folder /etc/bareos/bareos-fd.d/daemon/encryption.conf = not working. (error msg above)

Please help :o)


--
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+unsubscr...@googlegroups.com <mailto:bareos-users+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/493d60d6-44b8-4d35-be28-61f58c7c8dc0n%40googlegroups.com <https://groups.google.com/d/msgid/bareos-users/493d60d6-44b8-4d35-be28-61f58c7c8dc0n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
 Jörg Steffens                   joerg.steff...@bareos.com
 Bareos GmbH & Co. KG            Phone: +49 221 630693-91
 https://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: Stephan Dühr, Jörg Steffens, Philipp 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 bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/u1tgel%24vdp%241%40ciao.gmane.io.

Reply via email to