On Fri, Apr 16, 2010 at 9:07 AM, tqz <bacula-fo...@backupcentral.com> wrote: > > Hi John > > Thanks for the response. st stor im assuming gives the same output as stauts > storgae? 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. >
Try something like this. echo "st storage=DEV6-Changer" | bconsole | grep Volume: where you replace DEV6-Changer with your storage device name. John ------------------------------------------------------------------------------ Download Intel® 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users