Bacula-users

Re: [Bacula-users] How to get tapes from autoloader to offsite-storage?

2008-12-17 20:52:17
Subject: Re: [Bacula-users] How to get tapes from autoloader to offsite-storage?
From: Glen Davison <glen.davison AT sirca.org DOT au>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 18 Dec 2008 12:49:32 +1100

Andreas Grabner <andreas AT vianova DOT cc> wrote on 16/12/2008 10:18:40 PM:

> [Bacula-users] How to get tapes from autoloader to offsite-storage?

>
> Andreas Grabner
> to: Bacula list
> 16/12/08 10:27 PM

>
> Hello,
> i'm using bacula (2.0.3) for some month now. now i got a "Quantum
> Superloader3" and try to figure out how to mangage offsite storage.
>
> Because there is no Import/Export Slot i have to eject tapes via the
> native quantum web-interface or at the autoloader.
> I would like to do a solution which a "normal user" can handle so i
> think of the following.
>
> 1. do a Full Backup to a special Pool
> 2. Send a Mail message including "Please take tapes XYZ1, YXZ2 to vault."
> 3. umount Storage (maybe via Webinterface and cgi)
> 4. Go fetch the tapes
> 5. update slots (barcode reader included)
> 6. mount
> 7. do other backups
> 8. Send message "tapes XYZ1 XYZ2 needed" tomorrow.
>
> Has any one done something like this? Are there better suggestions?
> Has anyone sample scripts?
>
> Thanks in advance
> Andreas Grabner

The various tape libraries I have used have not needed umounting.  Bacula does some sort of SCSI lock on the drive it's using, but the library & robot are more or less "free".  So long as bacula has unloaded the tape you're interested in, which it will have done if it's moved onto backing up to a different one, you can eject your magazine, do tape moves, etc as much as you want.  ie take out the tapes you want to off-site, put in replacements...  

When you've finished with those, do an update slots so bacula knows what it has in the library.

So I think you can skip steps 3 and 6.

Btw because most of my libraries have two drives, I have put a locking wrapper around mtx, to stop myself from accidentally interfering with the robot at the same time as bacula.  Probably paranoid but just in case...


Glen

--
Glen Davison                      davo AT sirca.org DOT au
SIRCA Pty Ltd                      Ph (02) 9236 9133
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Bacula-users] How to get tapes from autoloader to offsite-storage?, Glen Davison <=