"Hemant Shah" <[EMAIL PROTECTED]> kirjoitti viestissä news:[EMAIL PROTECTED] > 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users