|
From: Bruno S. <Bru...@ho...> - 2006-08-30 17:37:35
|
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=20
@/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 =3D client001-job
Type =3D Backup
Client =3D client001-fd
FileSet =3D "lsh-fileset"
Schedule =3D Monthly
Storage =3D lsh-file
Messages =3D Standard
Full Backup Pool =3D client001-full
Incremental Backup Pool =3D client001-inc
Write Bootstrap =3D "/home/backup/bootstraps/lsh503.bsr
Priority =3D 5
}
Many Thanks
Bruno
-----Original Message-----
From: bac...@li...
[mailto:bac...@li...] On Behalf Of John
Drescher
Sent: 08 August 2006 15:01
To: Marco Strullato
Cc: bac...@li...
Subject: Re: [Bacula-users] split configuration files
On 8/8/06, Marco Strullato <mar...@gm...> 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 =3D jmd0-dir
DIRport =3D 9101 # where we listen for UA connections
QueryFile =3D "/var/lib/bacula/query.sql"
WorkingDirectory =3D "/var/bacula"
PidDirectory =3D "/var/run"
Maximum Concurrent Jobs =3D 1
Password =3D "XXXXXDELETEDXXXXX" # Console password
Messages =3D 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=3Dlnk&kid=3D120709&bid=3D263057&dat=3D=
121642
_______________________________________________
Bacula-users mailing list
Bac...@li...
https://lists.sourceforge.net/lists/listinfo/bacula-users
|