How can I do redirected RMAN restore to client with backup IP/hostname
Hello,
In trying to do a redirected restore of an RMAN backup using NetBackup, I am getting the following error:
05/02/2017 11:32:47 - Error bpbrm (pid=14098) bpcd on fooz exited with status 48: client hostname could not be found
05/02/2017 11:32:48 - restored from image db-backup-source_1493623320; restore time: 0:00:08
05/02/2017 11:32:48 - Info tar (pid=0) done. status: 48: client hostname could not be found
05/02/2017 11:32:48 - Error bpbrm (pid=14098) client restore EXIT STATUS 48: client hostname could not be found
05/02/2017 11:32:52 - end Restore; elapsed time 0:00:15
Oracle policy restore error (2801)
My guess is the the "hostname" in question is the destination client, which is known to Netbackup as: fooz-bkp (since we back it up using a backup network). Normally not an issue on a normal redirected restore, but I'm not sure how to specify the destination client within the RMAN commands, which are being run from fooz.
This is a 7.6.0.4 NB env. restore source Client is linux, and restore destination is a linux media server .
Thanks
What is CLIENT_NAME on the media server?
It should be fooz-bkp.Run these commands on the destination client/media server:
bpclntcmd -self
bpclntcmd -pnBoth should return fooz-bkp.
Next thing to check is the media server that performed the initial backup and assumingly the restore.
Does that media server 'know' about fooz-bkp / fooz?
Have you checked forward/reverse name lookup in all directions?
Is it possible to redirect the restore to media server fooz-bkp?To troubleshoot initial name resolution during job setup, ensure that bprd log exists on the master. If not, create the folder and restart NBU on the master.
This will give us info such as requesting client, requesting client hostname, destination client name, etc.
bprd will also tell us which media server is selected for the restore.To troubleshoot media server comms with destination client (if not same), ensure bpbrm log exists on the media server.