Ascertaining Whether any Media is loaded on a RSM device

  • Thread starter Thread starter JCLARK
  • Start date Start date
J

JCLARK

We run a WIN2k (SP4) server that quite happily runs a NTBACKUP script
automatically to back-up the filestore. Usually at weekends the staff
at the datacentre forget to load the tape, so each day the back-up
fails with no available media. Currently the remote support staff use
the rsAdmin GUI to check if a tape has been loaded before going home.
Is there a way we can generate a batch script that will check if any
media is loaded, this way we can then automate sending a email to the
staff informing them a tape isn't loaded.
I've tried the RSM VIEW /T command but that only tells me DRIVE0. I've
read thru the RSM command spec and nothing else seems to fit.

Many thanks for your time.

Regards

Jon
 
We run a WIN2k (SP4) server that quite happily runs a NTBACKUP script
automatically to back-up the filestore. Usually at weekends the staff
at the datacentre forget to load the tape, so each day the back-up
fails with no available media. Currently the remote support staff use
the rsAdmin GUI to check if a tape has been loaded before going home.
Is there a way we can generate a batch script that will check if any
media is loaded, this way we can then automate sending a email to the
staff informing them a tape isn't loaded.
I've tried the RSM VIEW /T command but that only tells me DRIVE0. I've
read thru the RSM command spec and nothing else seems to fit.

Many thanks for your time.

Regards

Jon


Yes. See the script at tip 5955 in the 'Tips & Tricks' at http://www.jsiinc.com

You may also wish to search for RSM to see other script functions.




Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
JCLARK said:
We run a WIN2k (SP4) server that quite happily runs a NTBACKUP script
automatically to back-up the filestore. Usually at weekends the staff at
the datacentre forget to load the tape, so each day the back-up fails
with no available media. Currently the remote support staff use the
rsAdmin GUI to check if a tape has been loaded before going home. Is
there a way we can generate a batch script that will check if any media
is loaded, this way we can then automate sending a email to the staff
informing them a tape isn't loaded.

I've tried the RSM VIEW /T command but that only tells me DRIVE0. I've
read thru the RSM command spec and nothing else seems to fit.

You can use RSM commands, as Jerold pointed out.

For another solution, you could try my freeware tapeutil.exe. It lets you
check a drive for media, retension (if drive supports it), and eject tapes.

http://home.comcast.net/~stewartb/misctools.html

HTH,

Bill
 
Back
Top