09-17-2011 12:01 AM
Hello,
I am trying to recover the Production Netbackup catalog in to the Test Master server. I have copied the catalog backup (disk stu) from production master to the Test Master server (without DRFILE). I have completed the phase1 and phase 2 import successfully. But when running the bprecover -wizard, it is ending with the following error. Please give me a solution on how to proceed further to complete the catalog recovery.
Note: I have created /netbackup mount point and recovering to that location.
Error fron bprecover:
17:24:58 (20.001) INF - TAR EXITING WITH STATUS = 0
17:24:58 (20.001) INF - TAR RESTORED 360028 OF 360028 FILES SUCCESSFULLY
17:24:58 (20.001) INF - TAR KEPT 0 EXISTING FILES
17:24:58 (20.001) INF - TAR PARTIALLY RESTORED 0 FILES
17:24:59 (20.001) Status of restore from image created Thu Aug 18 11:02:44 2011 = the requested operation was successfully completed
17:25:02 (20.xxx) INF - Status = the requested operation was successfully completed.
17:25:06 INF - Database restore started
Restore started Fri Sep 16 17:25:09 2011
17:34:02 (21.001) Restoring from image created Thu Aug 18 11:01:14 2011
17:34:05 (21.001) TAR STARTED
17:34:29 (21.001) The following files/folders were not restored:
17:34:29 (21.001) UTF - /netbackup/db/staging/EMM_DATA.db
17:34:29 (21.001) UTF - /netbackup/db/staging/EMM_INDEX.db
17:34:29 (21.001) UTF - /netbackup/db/staging/NBDB.db
17:34:29 (21.001) UTF - /netbackup/db/staging/NBDB.log.1
17:34:29 (21.001) UTF - /netbackup/db/staging/databases.conf
17:34:29 (21.001) UTF - /netbackup/db/staging/server.conf
17:34:29 (21.001) UTF - /netbackup/db/staging/vxdbms.conf
17:34:29 (21.001) INF - TAR EXITING WITH STATUS = 174
17:34:29 (21.001) INF - TAR RESTORED 0 OF 0 FILES SUCCESSFULLY
17:34:29 (21.001) INF - TAR KEPT 0 EXISTING FILES
17:34:29 (21.001) INF - TAR PARTIALLY RESTORED 0 FILES
17:34:29 (21.001) Status of restore from image created Thu Aug 18 11:01:14 2011 = media open error
17:34:39 INF - Server status = 5
17:34:43 (21.xxx) INF - Status = the restore failed to recover the requested files.
17:34:50 ERR - Failed to recover NBDB on NBUPROD (5)
Thanks in advance :)
Solved! Go to Solution.
09-17-2011 12:32 AM
"media open error"
Please check bptm log for possible reason.
If the directory does not exist, create it and retry the restore.
There should also be a log file that looks something like this: /usr/openv/netbackup/logs/user_ops/root/logs/Recover<date-time>.log
Please post logs as attachments.
09-17-2011 12:32 AM
"media open error"
Please check bptm log for possible reason.
If the directory does not exist, create it and retry the restore.
There should also be a log file that looks something like this: /usr/openv/netbackup/logs/user_ops/root/logs/Recover<date-time>.log
Please post logs as attachments.
09-17-2011 04:30 AM
Since you are restoring from disk, I suspect you are missing a backup image file containing the EMM database backup. As Marianne suggest check bptm but bpdm as well.
09-17-2011 05:15 AM
Thanks Marianne & Nicolai for your prompt response.
Great ... Directory (staging) creation did the trick !!! Recovery went through after creation of the staging directory and completed successfully.
Thanks for the support.
11-03-2011 04:43 PM