cancel
Showing results for 
Search instead for 
Did you mean: 

Restore file at another media server

Jeff_Huang
Level 3
Platform: UNIX

I use media server A backup files of server B. Then change media owner of that tape. And try to restore the file by Media server B itself.
However, the backup still chose media server A to restore. Did i miss anything?
1 ACCEPTED SOLUTION

Accepted Solutions

rrosario
Level 4
Certified

FORCE_RESTORE_MEDIA_SERVER

Applies to NetBackup Enterprise Server:

The

FORCE_RESTORE_MEDIA_SERVER entry forces restores to go to a specific server, regardless of where the files were backed up. The format for the entry follows:

FORCE_RESTORE_MEDIA_SERVER

= from_host to_host

Where

UNIX master server.Stop and restart the NetBackup Request daemon on the master server afteradding the

to

storage unit on

for future restores, delete the entry.

from_host is the server that performed the original backup and to_host isthe server to use for the restore.Use this option by adding it to the /usr/openv/netbackup/bp.conf file on aFORCE_RESTORE_MEDIA_SERVERentry. Physically move the media to_host before attempting a restore. Update the Media Manager volume database to reflect the move.This setting applies to all storage units on the original server. Restores for anyfrom_host go to to_host . To revert to the original configuration

View solution in original post

4 REPLIES 4

Marianne
Level 6
Partner    VIP    Accredited Certified
Changing ownership with 'bpmedia -m <id> -oldserver ... -newserver ...' should do the trick.
Double-check output of 'bpmedialist -m <id>.  Does it show server B as new owner?
Is this maybe a multi-tape backup? You might have to change all tapes in backup set.

Srikanth_Gubbal
Level 6
Certified

do an entry in the alternate server restore tab in the host properties of master server, you can restore in server B even though it is pointing to Server A, this is called redirected restorre

rrosario
Level 4
Certified

FORCE_RESTORE_MEDIA_SERVER

Applies to NetBackup Enterprise Server:

The

FORCE_RESTORE_MEDIA_SERVER entry forces restores to go to a specific server, regardless of where the files were backed up. The format for the entry follows:

FORCE_RESTORE_MEDIA_SERVER

= from_host to_host

Where

UNIX master server.Stop and restart the NetBackup Request daemon on the master server afteradding the

to

storage unit on

for future restores, delete the entry.

from_host is the server that performed the original backup and to_host isthe server to use for the restore.Use this option by adding it to the /usr/openv/netbackup/bp.conf file on aFORCE_RESTORE_MEDIA_SERVERentry. Physically move the media to_host before attempting a restore. Update the Media Manager volume database to reflect the move.This setting applies to all storage units on the original server. Restores for anyfrom_host go to to_host . To revert to the original configuration

Jeff_Huang
Level 3
Problem solved by FORCE_RESTORE_MEDIA_SERVER.