Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

Tape media report script

Updated: 26 Jan 2012 | 6 comments
AlGon's picture
0 0 Votes
Login to vote
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

Comments

J.Hinchcliffe's picture
25
Jan
2012
0 Votes 0
Login to vote

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

AlGon's picture
26
Jan
2012
0 Votes 0
Login to vote

    Thanks a lot.  It seems

 

 

Thanks a lot.  It seems the OpsCenter route is the way to go, plenty of options available.  :)

Mark_Solutions's picture
25
Jan
2012
1 Vote +1
Login to vote

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.

AlGon's picture
25
Jan
2012
0 Votes 0
Login to vote

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 :)

Mark_Solutions's picture
25
Jan
2012
1 Vote +1
Login to vote

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.

AlGon's picture
26
Jan
2012
0 Votes 0
Login to vote

    Thanks for your

 

 

Thanks for your suggestions Mark; I didn't know about this script and also a few others in this folder.

Cheers