ahhh . . .
from http://wiki.bacula.org/doku.php?id=sample_configs:
'Since Bacula 2.2.0 you can include the output of a command within a
configuration file with the "@|" syntax'

i'm on 2.0.3 . . .

thanks for the help,
guy

Martin Simmons wrote:
>>>>>> On Wed, 08 Oct 2008 10:44:17 -0400, Guy Matz said:
>>>>>>             
>> hey-hey,
>> i'm getting the following error when trying to use the "@|" notation to
>> include multiple files . . .
>>
>> Starting bacula-dir: 03-Oct 18:40 bacula-dir: ERROR TERMINATION at lex.c:545
>> Config error: Cannot open included config file |: No such file or directory
>>
>>             : line 4, col 3 of file /etc/bacula/bacula-dir.d/job.conf
>> @|"sh -c 'cat /etc/bacula/bacula-dir.d/job.d/*.conf'"
>>
>>
>> the content of my job.conf file is the "@|" line above, and the files
>> referred to in the @| line do exist.
>>
>> any thoughts?
>>     
>
> Try putting the bar inside the quotes:
>
> @"|sh -c 'cat /etc/bacula/bacula-dir.d/job.d/*.conf'"
>
> __Martin
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to