David Romerstein wrote:
> On Thu, 17 Jan 2008, Reynier Perez Mira wrote:
> 
>>> bacula-dir -t -c bacula-sd.conf
>>> 17-ene 12:06 bacula-dir: ERROR TERMINATION at parse_conf.c:884
>>> Config error: Keyword "WorkingDirectory" not permitted in this resource.
>>> Perhaps you left the trailing brace off of the previous resource.
>>>             : line 16, col 19 of file bacula-sd.conf
>>>  WorkingDirectory = "/var/bacula/working"
>> I read the doc and see this:
>>  Working Directory = <Directory> This directive is mandatory  ...
> 
> Please note that "WorkingDirectory" is not the same as "Working 
> Directory".

Good catch.  I believe that the spaces in Bacula's directives are 
optional.  In short:

"Case (upper/lower) and spaces are totally ignored in the resource 
directive keywords (the part before the equal sign).

Within the keyword (i.e. before the equal sign), spaces are not 
significant. Thus the keywords: name, Name, and N a m e are all identical.

Spaces after the equal sign and before the first character of the value 
are ignored."

http://www.bacula.org/rel-manual/Customizin_Configurat_Files.html#SECTION001322000000000000000

-- 
Dan Langille - http://www.langille.org/
BSDCan - The Technical BSD Conference: http://www.bsdcan.org/
PGCon  - The PostgreSQL Conference:    http://www.pgcon.org/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to