Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

FORCE_RESTORE_MEDIA_SERVER seems not to work

Created: 24 Apr 2013 • Updated: 24 Apr 2013 | 7 comments
This issue has been solved. See solution.

Ah yes, this should be trivial.

Let me explain the setup: master /media server lets call it central01 a robot and 10 drives using SSO which provides an ndmp storage unit, central01ndmp.

At remote01 we have another media server, windows, a robot 4 drives. 2 drives are attached to remote01 and a further 2 form another ndmp storage unit, client remote01ndmp say. No SSO. These drives are dedicated.

I run ndmp backups via media server remote01, from client remote01ndmp direct to the drives attached to remote01ndmp

Then I ship my tape to central01 and stick it in my robot. I can happily examine images on media without any intervention. But when i try restore it thinks it needs media server remote01. So I head to FORCE_RESTORE_MEDIA_SERVER =  from to  in bp.conf

from:remote01

to:central01

is what I've used: these are the media servers in question.

The doc is conflciting: I've seen docs says the config re-read isnt needed , others say  it is, but regardless of what I try the restore always tries to use remote01 media server.I've done -rereadconfig and I've manually stopped and started bprd via the gui.  

I've used FORCE_RESTORE....historically with no issues, but no longer.

I havent restarted netbackup in its entirety: its rather inconvenient.

So forum folks, where am I going wrong?

In advance I thank you.

NB7504 master (Soalris),71 remote media server(windows)

Jim

Operating Systems:

Comments 7 CommentsJump to latest comment

Marianne's picture

Do you have bprd log on the master server? 
If so, please copy to bprd.txt and post as File attachment.

We should be able to see in the log if FORCE_RESTORE... entry is found.

If no reference in bprd log, double-check bp.conf entry for typo errors.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Dyneshia's picture

Reread config is needed.

Additonal question, the data you are trying to restore, is it from a duplication job ?

http://www.symantec.com/docs/TECH64592

SLP ?

REF : http://www.symantec.com/docs/TECH74646 - Using storage life cycle policies the specified media server for the duplication is not used for the restore.

http://www.symantec.com/docs/TECH87200 - Restores and duplications from OpenStorage backup need not use the same media server that wrote the backup

Are you restoring data from a disk pool shared my multiple media servers ?

http://www.symantec.com/docs/TECH124885

Other helpful tech notes :

http://www.symantec.com/docs/HOWTO36401

Marianne's picture

I run ndmp backups via media server remote01, from client remote01ndmp direct to the drives attached to remote01ndmp

Then I ship my tape to central01 and stick it in my robot.

No disk, no OST, no duplication .....

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Marianne's picture

Found this TN: http://www.symantec.com/docs/TECH68059

Need to re-direct NDMP restore through an alternate media server

When attempting to use "Media Host Override" functionality in NetBackup to force the restore of an NDMP backup taken through a drive directly connected to an NDMP filer to run through a different Media Server than the backup was originally taken from, the system will ignore this setting and attempt to run the restore through the original Media Server. 
This is the currently designed behavior of the product.
Workaround:
.....
Then run:
/usr/openv/netbackup/bin/admincmd/bpmedia -movedb -m <MEDIA> -oldserver <last write host> -newserver <desired media server for restore>
This will change the media assignment to the new Media Server and allow the restore to run as expected. If the restore is going to an NDMP filer that has directly tape drive(s), the restore should run through that drive normally. 
 

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

SOLUTION
jim dalton's picture

MVDB ...

Points to be awarded there I reckon. I will read, digest , act and respond accordingly but I know the quality of your responses is always rather good so I'm hopeful.

Thanks,Jim

jim dalton's picture

No problems at all , MVDB gets the points and whats more no need to modify bp.conf with FORCE_...

How obtuse is that?

You'd think after 3+years of it being flawed thinking theyd get around to fixing it.

Thanks to all who responded.

Jim

Marianne's picture

I was surprised when I saw:

This is the currently designed behavior of the product.

Glad that it's sorted!

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links