On Monday, 29 May 2017 01:02:17 UTC-6, Joe Nash  wrote:
> 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.

Yes, I did use this approach from your previous post. It worked fine; many 
thanks.

My post was really asking the Bareos gurus to weigh in on whether there is an 
approach similar to the one documented in Chapter 31.1.2, but which is not 
compatible with 16.2 as the configuration structure changed. The implication 
was that the db_name can be specified in a .conf file somewhere, but maybe this 
is simply not the case and the only way is your way :).

Thanks again,

Stan

-- 
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.

Reply via email to