Hi and thanks a lot! The script did not work for me and I had no time for investigating. So I used the method Sebastian suggested and after some tweaking bareos runs again :-) Just struggling a little bit with local filedaemon, but this is a different story... Cheers, Otto
Jörg Steffens schrieb am Freitag, 28. März 2025 um 12:00:39 UTC+1: > Hi Otto, > > thank is all documented at > > https://docs.bareos.org/Configuration/CustomizingTheConfiguration.html#subdirectory-configuration-scheme > > including a migration script, that helps you to split your existing > configuration into separate files. > The "new" config scheme has been introduced 9 years ago, so your 10 year > old configuration might be one of the last using the old scheme ;-) > > Regards, > Jörg > > On 28.03.25 at 11:15 wrote Sebastian Sura: > > Hi Otto, > > > > if you have a config file `<path>/bareos-dir.conf`, then you can simply > > create the directory `<path>/bareos-dir.d/legacy` and move that file in > > there. > > If the configure still doesnt work, then you also need to create the > > directory `bareos-dir.d/client`. For a full list of directories that > > you should create > > you can look into the default config that gets shipped with the bareos > > director. > > > > Kind Regards > > Sebastian Sura > > > > Am 27.03.25 um 20:12 schrieb Otto Brandstaetter: > >> Hi, > >> > >> my next challenge :-) > >> I have been using bareos on my servers for about 10 years or so and it > >> seems that its time for a cleanup. > >> I tried to add a new client using bconsole, but I am getting the > >> following: > >> > >> It seems that the configuration is not adapted to the include > >> directory structure. This means, that the configure command may not > >> work as expected. Your configuration changes may not survive a reload/ > >> restart. failed to write config resource file > >> > >> I tried to ask the internet, but could not find a suitable answer on > >> how to change config. > >> I am still using the obviously old flat config-files. > >> Could anyone please point me in a direction where to find more > >> information on how to switch to include directory structure? I think I > >> missed something as I did not read release-notes :-( > >> Best regards and thanks in advance, > >> Otto > >> > >> -- > >> 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/af41de76-5291-4142-bf7b-949e34e9b775n%40googlegroups.com > >> <https://groups.google.com/d/msgid/bareos-users/af41de76-5291-4142- > >> bf7b-949e34e9b775n% > 40googlegroups.com?utm_medium=email&utm_source=footer>. > > > > -- > > Sebastian [email protected] > > Bareos GmbH & Co. KG Phone: +49 221 630693-0 > > https://www.bareos.com > > 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 [email protected] <mailto:bareos- > > [email protected]>. > > To view this discussion visit https://groups.google.com/d/msgid/bareos- > > users/91b54e2e-917c-47d8-858a-6c4c06f1984c%40bareos.com <https:// > > groups.google.com/d/msgid/bareos- > > users/91b54e2e-917c-47d8-858a-6c4c06f1984c%40bareos.com? > > utm_medium=email&utm_source=footer>. > > > -- > Jörg Steffens [email protected] > Bareos GmbH & Co. KG Phone: +49 221 630693-91 <+49%20221%2063069391> > https://www.bareos.com > > 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 [email protected]. To view this discussion visit https://groups.google.com/d/msgid/bareos-users/1a9f28ab-a1f3-4fdb-9835-333d9e10368an%40googlegroups.com.
