Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can i unfreeze multiple tapes in a w2k environment? 1

Status
Not open for further replies.

munkin

IS-IT--Management
Sep 14, 2006
1
CA
Hey guys, i am a backup administrator, who can see upwards of 2-300 frozen tapes a day or even more, id there a script or a command that can be used for unfreezing multiple tapes at once instead of manually one by one?

We use windows server 200 and 2003 machines with netbackup 5-6 varies.

any help is appreciated,

Thanks
 
yes, all you will have to do is some sort of "for" loop. I don't know what is available for doing a for loop in windoes but since a for loop is one of the most basic steps in a program I'm sure you can find some sort of program language that will work for you. Please read this document for the syntax for bpmedia.

DOCUMENTATION: How to troubleshoot frozen media on UNIX and Windows


Bob Stump
Just because the VERITAS documentation states a certain thing does not make it a fact and that is truth.
 
Loop command for windows / dos is something like this:

In the frozentapelist.txt just put each media id on a separate line... and it should work.
------------------------------------------

REM unfreeze.bat

FOR /F "eol=;" %%i in (
d:\frozentapelist.txt
) DO (
bpmedia -unfreeze -m %%i
)

-----------------------------------------

then run it like this from command line I believe:

call unfreeze.bat
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top