On 7 Sep 2006 at 10:18, Jonathan B Bayer wrote: > Hello bacula-users, > > I would like to be able to set a parameter on a tape drive before > opening it (I want to enable the hardware compression in the tape > drive). Right now I do it when Bacula is started, but I would like to > do it explicitly inside Bacula. > > Any ideas?
Have you looked at Run Before Job? The specified command is run as an external program prior to running the current Job. This directive is not required, but if it is defined, and if the exit code of the program run is non-zero, the current Bacula job will be canceled. http://www.bacula.org/dev-manual/Configuring_Director.html Be aware: I'm not sure of the consequences of having mixing hardware compression off with hardware compression on within the same tape. -- Dan Langille : Software Developer looking for work my resume: http://www.freebsddiary.org/dan_langille.php ------------------------------------------------------------------------- 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