Somewhere in the documentation it says the scripts will use the environmental variable "db_name" if it exists. If it does not exist, then scripts will fall back to the default. Search the documentation for db_name. It's in there somewhere.
On Sun, May 28, 2017 at 8:38 PM, Stan Cruise <[email protected]> wrote: > On Wednesday, 15 February 2017 13:16:24 UTC-7, Joe Nash wrote: > > Thanks. > > > > If another newbie is wondering, this short script worked for me: > > > > #!/bin/bash > > export db_name="MyNewDatabase" > > ./create_bareos_database > > ./make_bareos_tables > > As one newbie to another, nice solution. > > To Jorg above, unless I am missing something (likely), the reference you > give is not relevant to 16.2, as the conf structure changed. I tried to > work out the equivalent to no avail. > Could you provide an updated tip to adjust the db parms to allow the > scripts to work? While Joe's script is a nice simple way to fix it, it's > likely not what you guys had in mind. > > -- > You received this message because you are subscribed to a topic in the > Google Groups "bareos-users" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/bareos-users/ushJ5XC2mm8/unsubscribe. > To unsubscribe from this group and all its topics, 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. > -- 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.
