On Wed, 31 Jan 2007, Brian Debelius wrote: > Darien Hager wrote: >> On Jan 31, 2007, at 10:46 AM, Brian Debelius wrote: >> >>> I am trying to split up a config file on Windows, using the @ >>> directive >>> as shown in http://www.bacula.org/dev-manual/ >>> Customizin_Configurat_Files.html but it >>> returns an error that it cannot find the file. Has anyone done >>> this in Windows?
>> I haven't tried it in windows, but some quick ideas: >> 1. Try absolute pathnames if you aren't already--it didn't like >> relative ones for me on Linux. >> 2. Try escaping Window's backslashes with an additional backslash, >> e.g. "@C:\\folder\\file" >> 3. If those don't work, can you post what some details or examples of >> what isn't working? > In my bacula-dir.conf I have > > @"C:\\Documents and Settings\\All Users\\Application > Data\\Bacula\\schedule.conf" > > but the directory returns the following error: > > 31-Jan 14:06 bacula-dir: ERROR TERMINATION at ../../lib/lex.c:545 > Config error: Cannot open included config file : No such file or directory > > : line 163, col 2 of file C:\Documents and Settings\All > Users\Application Data\Bacula/bacula-dir.conf > @"C:\\Documents and Settings\\All Users\\Application > Data\\Bacula\\schedule.conf" http://www.bacula.org/dev-manual/FileSet_Resource.html#SECTION001540000000000000000 If you are entering Windows file names, the directory path may be preceded by the drive and a colon (as in c:). However, the path separators must be specified in Unix convention (i.e. forward slash (/)). If you wish to include a quote in a file name, precede the quote with a backslash (\). For example you might use the following for a Windows machine to backup the "My Documents" directory: FileSet { Name = "Windows Set" Include { Options { WildFile = "*.obj" WildFile = "*.exe" exclude = yes } File = "c:/My Documents" } } -- D ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users