Mark> John Stoffel wrote:
>> 
>> even if you *don't care* which drive gets used, bacula should just
>> pick it's own damm drive for the checking, if needed.  And since
>> update slots hacks the Media table, what's the process to get the
>> status without an update?

Mark> Does this give you what you need?

Mark> #!/bin/sh
Mark> bconsole -c /etc/bacula/bconsole.conf <<END_OF_DATA
Mark> query
Mark> 15
Mark> quit
Mark> END_OF_DATA

Not really, since it doesn't show which tapes are in which drives (if
in any).  I can already get this information from the DB using my
script.  

I'm now looking for:

1. Number of slots in jukebox
2. Which tape(s) are in which drive(s).

John

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to