Video Screencast Help
Give us your opinion and win with Symantec! Please help us by taking this survey to tell us about your experience with Symantec Connect, so that we can continue to grow and improve.  Take the survey.

Eject tapes that expire in 2038

Created: 24 Oct 2012 • Updated: 30 Oct 2012 | 2 comments
This issue has been solved. See solution.

Hi all,

I want to write a script to eject the tapes that expire in 2038.
How can I put the Data Expiration in the script instead of MediaID?
vmchange -res -multi_eject -w -verbose -rn <robot number> -rt <robot type> -rh <robot control host> -ml <mediaid1:mediaid2:mediaid3:...>
PD: NetBackup v7.1.0.4
      Platform: Windows

Comments 2 CommentsJump to latest comment

Will Restore's picture

you can build a list using bpmedialist -summary | findstr 2038 

 and feed media ids to vmchange

Will Restore -- where there is a Will there is a way

magteix's picture

Thanks wr!

I used available_media instead bpmedialist

Thanks for your help!