cancel
Showing results for 
Search instead for 
Did you mean: 

How to force bprestore to fail on missing tape

phil7878
Level 2
I am using Nb 6.5.4 on win server 2003.

We are trying to restore an image on a tape that is not anymore in the robotic.
In the activity monitor I got:

2009-11-27 12:15:37 - requesting resource 000011
2009-11-27 12:15:38 - awaiting resource 000011 A pending request has been generated for this resource request.
     Operator action may be required. Pending Action: No action.,
     Media ID: 000011, Barcode: 000011, Density: hcart, Access Mode: Read,
     Action Drive Name: N/A, Action Media Server: N/A, Robot Number: N/A, Robot Type: NONE,
     Volume Group: ---, Action Acs: N/A, Action Lsm: N/A

And then it stay like this forever.
I would want bprestore to just fail when that happen.

Or maybe at least send an email or do an interaction that we could detect.

I have read this:
http://seer.entsupport.symantec.com/docs/325545.htm
but I'm not sure it will help me and I don't see the sample script  neither.

If I could just make bprestore fail or return something on the command line ( when launched with -w), I would be really happy.

Thank you.
1 ACCEPTED SOLUTION

Accepted Solutions

Nicolai
Moderator
Moderator
Partner    VIP   
I haven't heard of such a option. You will likely need to write a script that monitor pending media requests.

Pending media requests are under most circumstance completely legitimate and thus no option to make them "auto" fail.

EDIT:

To look for pending media requests use: : vmoprcmd -d pr -h {media_server}







View solution in original post

4 REPLIES 4

J_H_Is_gone
Level 6
I check both my unix master and my windows San Media server.

If you have NOM - it has an alert "Media Required for Restore"

Nicolai
Moderator
Moderator
Partner    VIP   
I haven't heard of such a option. You will likely need to write a script that monitor pending media requests.

Pending media requests are under most circumstance completely legitimate and thus no option to make them "auto" fail.

EDIT:

To look for pending media requests use: : vmoprcmd -d pr -h {media_server}







Will_Restore
Level 6
http://seer.entsupport.symantec.com/docs/325545.htm
3 times and all I got was a headache.  :(
The posted solution lead to 60 pages of potential downloads.

phil7878
Level 2
thank you,
I will pool after bprestore with the vmoprcmd command