cancel
Showing results for 
Search instead for 
Did you mean: 

bpmedia -freeze

Radhi_Youssef
Level 3

Hello all,

 

Is there a way to unfreeze more medias at once? Like 70 frozen tapes and then there is a need to unfreeze these medias. Like a script or something? Any tips would do. Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions

Radhi_Youssef
Level 3

@Andy Welburn wrote:

And for UNIX:

 

cat list.txt | while read MEDIA

do

bpmedia -unfreeze -h <Media Server> -m $MEDIA

done

 

where list.txt is a list of media to be un-frozen & <Media Server> is the name of the media server (if appropriate).

 

or something similar!


 

we're using unix so i'm definitely going with this one... Man Wink

 

 

View solution in original post

7 REPLIES 7

Peter_Jakobs
Level 5
Partner Accredited Certified

Hi,

 

You could use the graphical interface if your not stuck to command line. Now in 6.5 you can unfreeze selecting a lot of tapes.

 

Peter

Puffy
Level 6

Are you using Windows or Unix.

 

I'm working on Windows so I will use a batch file

for "tokens=* delims= " %%a in (list.txt) do (

 bpmedia -unfreeze -h <Media Server> -m %%a

 

list.txt is the list of clients like this. 

ClientA

ClientB

ClientC 

 

You can put in one line then you have to modify the script if you know what you are doing. :) 

Andy_Welburn
Level 6

And for UNIX:

 

cat list.txt | while read MEDIA

do

bpmedia -unfreeze -h <Media Server> -m $MEDIA

done

 

where list.txt is a list of media to be un-frozen & <Media Server> is the name of the media server (if appropriate).

 

or something similar!

Radhi_Youssef
Level 3

@Andy Welburn wrote:

And for UNIX:

 

cat list.txt | while read MEDIA

do

bpmedia -unfreeze -h <Media Server> -m $MEDIA

done

 

where list.txt is a list of media to be un-frozen & <Media Server> is the name of the media server (if appropriate).

 

or something similar!


 

we're using unix so i'm definitely going with this one... Man Wink

 

 

Radhi_Youssef
Level 3

@Peter Jakobs wrote:

Hi,

 

You could use the graphical interface if your not stuck to command line. Now in 6.5 you can unfreeze selecting a lot of tapes.

 

Peter


 

Man Sad  how i wish i could use the GUI already... still stuck in CLI...

Andy_Welburn
Level 6

@Radhi Youssef wrote:
how i wish i could use the GUI already... still stuck in CLI...

How come?

Radhi_Youssef
Level 3
we're restricted for now... some "office political" issues, i guess... Man Indifferent