Hi.

I use Bacula 1.38.8 on FreeBSD-6.0.

I decided to split up my bacula-dir.conf a little and put jobdefs etc. into 
separate files and included them:

bacula-dir.conf:
======================
JobDefs {
        Name = "DefaultJob"
        @/usr/local/etc/bacula/job-default-defs.conf
}
======================

and /usr/local/etc/bacula/job-default-defs.conf:
======================
Type = Backup
Level = Incremental
Client = silver-fd 
FileSet = "Full Set"
Schedule = "WeeklyCycle"
Storage = Storage-Default
Messages = Standard
Pool = Default
Priority = 10
======================

I used Kate for editing files and I didn't put a newline-character at the end 
of included files (ie. didn't enter an empty line). That caused bacula-dir to 
run into infinite loop while loading config-files (ie. bacula-dir -t), taking 
80+ % of CPU.

When I put an empty line to the end of the included files 
(like /usr/local/etc/bacula/job-default-defs.conf), bacula-dir loaded 
successfully.

Is it a bug or is it really supposed to be like this?

Oh, there was no problem with it if the included stuff was bracketed, for an 
example

bacula-dir.conf:
======================
FileSet {
        Name = "usr"
        @/usr/local/etc/bacula/fileset-usr.conf
}
======================

and /usr/local/etc/bacula/fileset-usr.conf:
======================
Include {
        File = /usr
}
Exclude {
        File = /usr/.snap
}
======================

Silver


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

Reply via email to