Is there a script that can be written so that when the last job is complete 
Bacula automatically unloads the tape to it original slot and mount a new tape 
from a different slot? Reason I ask is that I have the same question but I 
don’t know what the variables will be for such a script, I mean how will you 
tell Bacula that if it wrote on tape 0001 from slot one after the job is 
complete to move tape 0001 back to slot 1 and load tape 0004 from slot 2 or 
next available slot into the archive device automatically?

Do any of you know what variables will be used i.e. run after job {mtx-changer 
/dev/sg1 unload $[originalslot] then mtx-changer /dev/sg1 load $[newslot] 
/dev/st0 0}?
   

Janco v.d Merwe
Network Administrator
Dunns Stores (PTY) Ltd
Switchboard: 011 541 3000
Direct: 011 541 3007
Fax: 086 632 1708

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Troy Daniels
Sent: 21 September, 2006 08:05
To: Michael Nelson
Cc: [email protected]
Subject: Re: [Bacula-users] Forcing use of next tape in Autochanger

Michael Nelson wrote:
> I have a Quantum Superloader3 LTO-3 jukebox with one magazine (eight
> slots) and one drive.  I have been backing our servers up to it
> successfully, after much tweaking.
> 
> My problem is that I don't really want it to continue backing up to one
> tape until it's full.  I am backing up about 100GB / night, and native
> capacity of an LTO-3 tape is 400GB, up to 800GB with compression.  I am
> not comfortable having that many days worth of data on one tape and would
> like to be able to tell bacula to switch to the next tape.
> 
> I believe I have found a way to do it manually, by using "update volume"
> in bconsole and changing that media_id's value from "append" to "full",
> but I would rather this happen some way without my having to do that every
> day.
> 
> If the answer to this is in the docs, I have missed it.  Is there an
> easier way to handle this issue programmagically?

Check out the Volume Use Duration option under:
http://www.bacula.org/rel-manual/Configuring_Director.html#SECTION0001410000000000000000

Something like 'Volume Use Duration = 24h' should work if added to your 
Pools definition.
> 
> Thanks
> Michael
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Bacula-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-users


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users


____________________________________________________________________________
This communication and any attachments are confidential and intended for the 
sole use of the
intended recipient.  Any form of copying or disclosure of this communication to 
any third parties
without permission is prohibited.  The contents of this communication and its 
attachments are
not intended to be relied upon in law without subsequent written confirmation.  
As such, Dunns
Stores (Pty) Ltd accept no responsibility or liability (including negligence) 
for the consequences
of anyone acting, or not acting, on information contained therein.

If you have received this communication in error please notify us immediately 
and destroy or
delete it.
____________________________________________________________________________


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to