Bacula documentation lists some job options that can be overriden in the schedule resource. "Write Bootstrap" is not mentioned in this list, can the bootstrap file also be specified differently for differently scheduled variations of the same job? And further, if I could do this, can I use character substitutions similar to eg. "Run After Job" in bootsrap file name to specify the client in question?
Why doing this? Because I would be using two pools (one for Jan, Mar, May etc, and the other one for Feb, Apr, Jun etc) and I'd like to keep the bootsrap files for both pools separate. The jobs would be similar to each other in other respects, so I would find it very simple to use the job overrides in the schedule resource to specify this. So, I'm looking for schedule like this: Schedule { Name = "NightlyCycle" Run = Pool=Month135 WriteBootstrap=/var/bacula/%c-135.bsr \ jan mar may jul sep nov at 01:05 Run = Pool=Month246 WriteBootstrap=/var/bacula/%c-246.bsr \ feb apr jun aug oct dec at 01:05 } If there is a way to solve this, I have a further problem: I'd like to have the bootstrap file being emailed using the job resource's "Run After Job" option. This is, first writing the bootstrap file to a local disk (no NFS filesystems on another hardware available), and then emailing a "backup" of the bootstrap file to bacula admin. This would require knowing the name of the bootstrap file somehow. The character substitution options of the Run After Job (%c for client's name etc) don't include a direct way for getting the name of bootstrap file, nor they don't seem to include the pool's name so I could use client's and pool's names to re-construct the bootstrap file's name. The command needed would ideally be something like: Run After Job = "nail -a /var/bacula/%bootstrap [EMAIL PROTECTED]" Does anyone have any ideas how to specify this? The problem is, I don't have another linux server on the same side of the firewall, so it's difficult to have mounted network filesystems available, and having an ftp server available is also difficult. If I had either of those, then I could simply forward every time all my bootstrap files although they all hadn't changed at all. But sending unnecessary emails isn't so nice, since they don't overwrite the older exactly alike copies. Regards, Timo ------------------------------------------------------------------------- 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