In the message dated: Thu, 07 Sep 2006 16:55:15 EDT, The pithy ruminations from "Jeremy Koppel" on <[Bacula-users] Autoloader: Replace tape in magazine after backups complete?> w ere:
=> => Well, we just had an autoloader go bad on us. Quantum sent us a new Ouch. => chassis under warranty, but there was a tape in the drive when the unit => tanked out on us. There's no way to get at it manually, and no user => serviceable parts. They tell me that the only way to get it out is by => disassembling the drive, which they'll do, but the process destroys the => tape. Oh, that's bad. I've got the same thing with a long-out-of-warranty AIT2 changer. => => => => So, I'm thinking it would be best to have Bacula replace whatever tape => it's using back in the autoloader when the last job of the night runs. => Anybody know how I'd configure that? Sure. Assuming that your last backup job is to backup the Bacula catalog database, and that there's a RunAfter directive that executes a script like $BACULA/bin/delete_catalog_backup, I add to that script something like: ################################################ /bin/echo -e "umount\n0\nq\n" | $BACULA/bin/bconsole -c $BACULA/etc/bconsole.conf ################################################ This will send the umount command to the Bacula bconsole program. Substitute the correct path for your Bacula installation, and repeat the "umount" command for each of the tape drives within the autochanger (specifying the drive number). Mark => => => => Thanks! => => => => --Jeremy Koppel => => => => => ------_=_NextPart_1655_00025162.00015147 => Content-Type: text/html; => charset="us-ascii" => Content-Transfer-Encoding: quoted-printable => => <html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:sc= => hemas-microsoft-com:office:word" xmlns=3D"http://www.w3.org/TR/REC-html40"> => [Gack! Horrible MS-Word HTML deleted] ---- Mark Bergman [EMAIL PROTECTED] System Administrator Section of Biomedical Image Analysis 215-662-7310 Department of Radiology, University of Pennsylvania http://pgpkeys.pca.dfn.de:11371/pks/lookup?search=mark.bergman%40.uphs.upenn.edu The information contained in this e-mail message is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. ------------------------------------------------------------------------- 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