Bacula-users

Re: [Bacula-users] How to get label of tape currently in tape drive

2010-04-16 09:47:29
Subject: Re: [Bacula-users] How to get label of tape currently in tape drive
From: Phil Stracchino <alaric AT metrocast DOT net>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 16 Apr 2010 09:44:45 -0400
On 04/16/10 09:07, tqz wrote:
> Thanks for the response. st stor im assuming gives the same output as
> stauts storgae?

'st stor' is an abbreviation of 'status storage'.

> Is there a way to simply just get the name of the
> tape - as I would like to write a script that will purge the current
> tape in the tape drive so that bacula uses this tape to do the
> nightly backup.

This is potentially dangerous.  If you're having to resort to things
like this, you're doing your Bacula volume management wrong.


-- 
  Phil Stracchino, CDK#2     DoD#299792458     ICBM: 43.5607, -71.355
  alaric AT caerllewys DOT net   alaric AT metrocast DOT net   phil AT 
co.ordinate DOT org
         Renaissance Man, Unix ronin, Perl hacker, Free Stater
                 It's not the years, it's the mileage.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users