Thanks all for your responses! Dave, I'm writing a python script that parses a text file containing information about the bacula install (working directory, install directory, director name, etc.) and another containing information about all the clients that I need to back up. It then creates a file with all the client and job definitions that get included in the bacula-dir.conf file. It also spits out a bacula-fd.conf for each client as well as creates and signs the certificates required for TLS.
At the moment it's a very inflexible script -- I assume my own convention for the locations of the files and such. When I get it working, I'll see about parsing some command line arguments to tell it where to look for files and where to put things, and possibly make it a well behaved unix program (take input from stdin/send input to stdout if nothing is specified, etc) but so far it reads from and writes to specific files. If you'd like I'll send you (or the list, if others are interested) an e-mail when it's done. Should be this week or the next. ~Kyle Marsh On 6/12/07, Dave <[EMAIL PROTECTED]> wrote: > Hi, > Yes it is possible. Put an @ sign before the file name of the file you > want to include. > What kind of client/job generation script are you writing? I might be > interested. > Thanks. > Dave. > > ----- Original Message ----- > From: "Kyle Marsh" <[EMAIL PROTECTED]> > To: <bacula-users@lists.sourceforge.net> > Sent: Tuesday, June 12, 2007 9:55 PM > Subject: [Bacula-users] Includes in .conf files > > > > Hi all, > > > > I've seen allusions to being able to include files in bacula's > > configuration files -- that would make my job of writing a script to > > generate client and job entries much easier -- but I haven't been able > > to find any references to it in the manual. Is this possible? If so > > how? > > > > Thanks, > > > > ~Kyle Marsh ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users