Hello All, I am setting up a fairly big bacula solution. I will be backing up aroung 150-200 linux clients. As it will be a large deployment, I want to configure it to be easily manageable and easy to add new clients.
I am trying to use multiple configuration files using @/path/to/file in the bacula-dir.conf but am running into some problems. Below is what I am trying to do. @/etc/bacula/conf/bacula-dir-catalogs.conf (Will be using about 5 or 6 different catalogs) @/etc/bacula/conf/bacula-dir-filesets.conf (5 or 6 different file sets) @/etc/bacula/conf/bacula-dir-schedules.conf (many schedules) @/etc/bacula/conf/bacula-dir-jobs.conf @/etc/bacula/conf/bacula-dir-jobdefs.conf @/etc/bacula/conf/bacula-dir-storages.conf (about 10 different storages. All Disk Based) #### ## Add Clients here #### @/etc/bacula/conf/clients/client001.conf (On this file, I am adding the client configurarion and the Pools as each client will have its own Full and Incremental Pools. The problem I am having is during bacula startup: linuxbackup:/etc/bacula# ./bacula-ctl-dir start Starting the Bacula Director daemon 30-Aug 17:51 bacula-dir: ERROR TERMINATION at lex.c:620 Config error: expected a string, got T_EOL: /etc/bacula/conf/bacula-dir-jobs.conf : line 22, col 39 of file /etc/bacula/bacula-dir.conf @/etc/bacula/conf/bacula-dir-jobs.conf I am positive the file /etc/bacula/conf/bacula-dir-jobs.conf exists. If I remove the file, I ge a different error message: Config error: Cannot open included config file /etc/bacula/conf/jobs.conf: No such file or directory Any clues ? I have tried changing the filename, checking if all the parameters are correct and no luck at all. Job { Name = client001-job Type = Backup Client = client001-fd FileSet = "lsh-fileset" Schedule = Monthly Storage = lsh-file Messages = Standard Full Backup Pool = client001-full Incremental Backup Pool = client001-inc Write Bootstrap = "/home/backup/bootstraps/lsh503.bsr Priority = 5 } Many Thanks Bruno -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Drescher Sent: 08 August 2006 15:01 To: Marco Strullato Cc: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] split configuration files On 8/8/06, Marco Strullato <[EMAIL PROTECTED]> wrote: > hi, I'd like to split configuration file of director into smaller > pieces. To do it I want to include other smaller conf file... > > Can you suggest me the correct syntax? I've made some tests but It was faulty. > Here is the start of my bacula-dir.conf file: GNU nano 1.3.9 File: bacula-dir.conf # # Default Bacula Director Configuration file # # The only thing that MUST be changed is to add one or more # file or directory names in the Include directive of the # FileSet resource. # # For Bacula release 1.37.30 (14 July 2005) -- gentoo 1.6.13 # # You might also want to change the default email address # from root to your address. See the "mail" and "operator" # directives in the Messages resource. # Director { # define myself Name = jmd0-dir DIRport = 9101 # where we listen for UA connections QueryFile = "/var/lib/bacula/query.sql" WorkingDirectory = "/var/bacula" PidDirectory = "/var/run" Maximum Concurrent Jobs = 1 Password = "XXXXXDELETEDXXXXX" # Console password Messages = Daemon } @/etc/bacula/bacula-dir-filesets.conf @/etc/bacula/bacula-dir-jobdefs.conf @/etc/bacula/bacula-dir-jobs.conf @/etc/bacula/bacula-dir-schedule.conf @/etc/bacula/bacula-dir-clients.conf @/etc/bacula/bacula-dir-storage.conf John ------------------------------------------------------------------------ - 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 ------------------------------------------------------------------------- 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