Tape media report script
Updated: 26 Jan 2012 | 6 comments
This issue has been solved. See solution.
Hi everyone,
I’m looking for a script (to run on windows) that will tell me what tapes have expired\have a retention period of 0, in specific volume pool, and therefore available to come back on-site.
I had a look at using the bpmedialist command, but this doesn’t tell me exactly what tapes have expired, just what amount of tapes that will expire in a certain time.
I want this script to run every morning so it can be sent to our engineers informing them which tapes to bring back on-site.
Does anyone have such a script that they would like to share? I would try to write one myself but I’m terrible at scripting L
Is it possible to generate a similar report using OpsCenter?
Thanks
Discussion Filed Under:
Comments
Built in
OpsCenter already has one built in - you can modify and create your one if it is not quite right.
Under Media Reports
Tapes Expiring Now
also one
Tapes Expiring in the future
I don't have to know how to spell....I work on Unix.
NetBackup 7.0.1 - AIX & Windows
Thanks a lot. It seems
Thanks a lot. It seems the OpsCenter route is the way to go, plenty of options available. :)
Put this into check_tapes.bat
Put this into check_tapes.bat and then run it (change the path if you have NetBackup installed somewhere else):
"C:\Program files\veritas\netbackup\bin\goodies\available_media.cmd">c:\available_tapes.txt
Then take a look at the text file
Hope this helps
Authorised Symantec Consultant
Don't forget to give a "Thumbs Up" or mark as "Solution" if someones advice has helped you.
Ah, ok, thanks a lot. Do you
Ah, ok, thanks a lot. Do you know if this can be for a specific volume pool?
I'll take a look later or first thing.
Thanks again :)
If is just a script file that
If is just a script file that can be edited if you wish - I dont believe it has any switches that can be used
Authorised Symantec Consultant
Don't forget to give a "Thumbs Up" or mark as "Solution" if someones advice has helped you.
Thanks for your
Thanks for your suggestions Mark; I didn't know about this script and also a few others in this folder.
Cheers
Would you like to reply?
Login or Register to post your comment.