Video Screencast Help
Protect Your POS Environment Against Retail Data Breaches. Learn More.

Oracle RMAN restore from alternate client in different NetBackup domain

Created: 19 Feb 2014 • Updated: 14 Mar 2014 | 2 comments
This issue has been solved. See solution.

Hello folks,

We have PROD and DEV NetBackup Linux master domains all running NB 7.5.0.6. 

There are scenarios in which an Oracle RMAN restore of a PROD client to a DEV client is required.  All clients in both domains have all PROD and DEV master/media servers in their server lists.  I have been updating the master server designation on the DEV client host properties to use the PROD master in order for the DEV client to access the PROD client backups and avoid "Backup file not found in NetBackup catalog" error.  This works fine, but I have to change back to the DEV master afterwards.  Does anyone know of a way for RMAN to specify which master server it connects to?  I would like to be able to avoid changing the master designation back and forth.

Thanks!

Operating Systems:

Comments 2 CommentsJump to latest comment

Will Restore's picture

NB_ORA_SERV specifies the Master Server, like this

 

run { allocate channel ch00 type 'sbt_tape';
send 'NB_ORA_SERV=<master server>,NB_ORA_CLIENT=<source client>';
... }

 

Will Restore -- where there is a Will there is a way

SOLUTION
Marianne's picture

In addition to above excellent post, check that you have SERVER entries in bp.conf on DEV client for PROD master server.
Create bpcd and dbclient log folders on Oracle client for troubleshooting purposes.
Remember that dbclient needs 777 permissions.

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