Here you are. I just included this file from bacula-dir.conf like this:

JobDefs {
        Name            = Default-Silver
        @/usr/local/etc/bacula/job-silver-defs.conf
}

Silver

> Hello,
> 
> This is a known bug, and there is even a bug report open on it.  However, I 
> have never been able to reproduce it here.  Even using your instructions ...
> Could you send me as an attachment the files that reproduce this problem?
> 
> With that perhaps I can fix it.
> 
> 
> 
> On Wednesday 03 May 2006 13:41, Silver Salonen wrote:
> > 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
> 
> -- 
> Best regards,
> 
> Kern
> 
>   (">
>   /\
>   V_V
Type            = Backup
Level           = Full
Client          = silver-fd
Schedule        = "WeeklyCycle"
Storage         = Storage-Silver
Messages        = Standard
Pool            = Default
Full Backup Pool                = Full-Pool
Differential Backup Pool        = Diff-Pool
Incremental Backup Pool         = Inc-Pool
Priority        = 10

Reply via email to