[rear-users] variable in local.conf not usable in default.conf

Robert Owens rowens at fdrinnovation.com
Mon Sep 21 21:42:24 CEST 2015

Yes, this is about a new product integration.  But this tells me all I 
need to know for this particular issue:

"You should be aware that default.conf is read first and
{site,local}.conf as last..."

I'm sure I will have more questions soon.  Thanks for the quick reply.


On 9/21/2015 3:07 PM, Gratien D'haese wrote:
> Not sure what you are trying to achieve? Is this about a new product
> integration?
> The array COPY_AS_IS_FDRUPSTREAM=( ) in default.conf is mainly meant to
> have a basic definition that you can use in different places.
> E.g. in prep script you can initialize or add paths to this array:
> You should be aware that default.conf is read first and
> {site,local}.conf as last and do not forget to treat the config files as
> bash scripts!
> If you explain in abit more detail what you want to achieve we could
> provide a better answer.
> thanks,
> Gratien
> On Mon, 21 Sep 2015 13:18:27 -0400, Robert Owens
> <rowens at fdrinnovation.com> wrote:
>> I'm writing Relax-and-recover support for my company's backup
>> product. With a hardcoded path for our install directory, everything
>> works.  But if I try to abstract the install directory with a variable
>> in local.conf, I find that I cannot use that variable in default.conf.
>> For instance, this works in default.conf:
>> COPY_AS_IS_FDRUPSTREAM=( /opt/fdrupstream )
>> But this doesn't work in default.conf, even though
>> $FDRUPSTREAM_INSTALL_PATH is defined as /opt/fdrupstream in
>> local.conf:
>> FDRUPSTREAM_INSTALL_PATH=/opt/non-existent
>> (In this example, I'm trying to override the default value with the
>> value provided in local.conf).
>> Thanks for any pointers you can provide.
>> -Rob
>> _______________________________________________
>> rear-users mailing list
>> rear-users at lists.relax-and-recover.org
>> http://pikachu.3ti.be/mailman/listinfo/rear-users

Rob Owens
Innovation Data Processing
rowens at fdrinnovation.com

More information about the rear-users mailing list