Hi,

On 9/7/2006 11:23 PM, [EMAIL PROTECTED] wrote:
> 
> 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:
...
> => 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
> ################################################

I'd add a mount command to this, so you have
/bin/echo -e "umount\n0\nmount\n0\nq\n" or something, so that the next
day, your backups don't have to wait for your intervention.

> 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).

The same with the mont command, if necessary (although this should not
be necessary if you mount the autochanger, not the single drives, I think).

Arno

> 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

-- 
IT-Service Lehmann                    [EMAIL PROTECTED]
Arno Lehmann                  http://www.its-lehmann.de


-------------------------------------------------------------------------
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

Reply via email to