Re: [Bacula-users] How to check if tape is labeled by bacula?
2008-11-04 10:54:34
"Hemant Shah" <hjrrs AT yahoo DOT com> kirjoitti viestissä
news:36064.78315.qm AT web51611.mail.re2.yahoo DOT com...
> Folks,
>
> I want to setup a cron job to remind me to insert new tape for the
> backup. The script checks if the tape drive already has a tape, next I
> want to check if the tape is already labeled by bacula. If it is labeled
> then I want to send e-mail asking me to put it unlabeled tape. I have
> setup bacula to automatically label the tape so I want the tape to be
> unlabeled.
>
> How do I check if the tape has been labeled by bacula and what the label
> is?
>
You could include btape command into your script, after the script has
detected there is a tape in the drive.
--
TiN
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|