"Dimiter Vassilev" <
[email protected]> wrote in message
I won't give you the batch garboon (IFs and FORs) but here's the rsm
flow.
(see inline comments)
rsm view /tLibrary /guiddisplay
^^# this will burp out the GUID of your tape drive (hopefully), find
a way to parse the number of results to get the one you want to use it
in the next line
rsm view /cg%TapeDriveGUID% /tPhysical_Media /guiddisplay
^^# this will tell you what physical media is located in the container
specified in /cg%TapeDriveGUID% (which is the GUID of your tape drive
you pulled from the first line)
RSM is *almost* kinda cool.. but the fact that it doesn't do
everything quite right, such as trying to allocate a given tape for
NTBACKUP, makes it kinda silly.
To be absolutely sure your tape is going to work within NTBACKUP, you
need to have the GUI NTBackup run through it, at least once, and to
have it allocate the media into it's media pool...
For example, for a weekly rotation, make sure that you have your tapes
labelled accordingly, such as a tape for each day of the week, or
what-have-you (best to label them through the NTBACKUP GUI itself),
and to verify through the RSM MMC plug that those tapes are listed in
the BACKUP media pool.
If someone can tell me how to script RSM into allocating a tape into
NTBACKUP media pool, *without* having to ever launch the GUI, please
let me know ASAP.
If it makes any difference, I'm using a Sony GY-8240 DTF2.