cancel
Showing results for 
Search instead for 
Did you mean: 

Media Info for tapes

DPeaco
Moderator
Moderator
   VIP   

Greetings,

Maybe this question has been asked 100 million times, but.....I'll ask again because I don't know and I can't find the right info. :) 

I'm needing to get the exact same info as what one gets when we click on the "Media" menu item in the NetBackup Admin GUI. I'm needing to automate a way to get Barcode, # of mounts, amount of data on tape, date first mounted, data expiration date, and a couple other informational items that the GUI shows that I can't seem to find a way to do it easily in a script. 

Please advise.

Thanks, Dennis

Thanks,
Dennis
5 REPLIES 5

Mouse
Moderator
Moderator
Partner    VIP    Accredited Certified

volmgr/bin/vmquery -bx

also other vmquery options

and look here https://support.symantec.com/en_US/article.tech1672.html

Marianne
Level 6
Partner    VIP    Accredited Certified
I only know how to get the info for one media-id at a time:
nbemmcmd -listmedia -mediaid (media-id)

Mike_Gavrilov
Moderator
Moderator
Partner    VIP    Accredited Certified

There is no single report that can provide you with all information you need. You can combine several reports or use EMM as Marianne advised you.

Marianne
Level 6
Partner    VIP    Accredited Certified

@DPeaco

Please let us know if any of the advice offered here has helped you in any way?

DPeaco
Moderator
Moderator
   VIP   

@Marianne

I'm working on a script that I will share here as soon as I get it done. The info shared here did confirm my "fears" and I do wish that Netbackup had a better way of getting this info. OpsCenter isn't much help unless I became a DBA. :) 

If you need to close this thread, then please do so. It won't hurt my feelings. ;) 

Thanks,
Dennis