Hi All,
hoping someone can point me in the right direction.
I am trying to migrate my master netbackup server from solaris on sparc to x86 linux.
I successfully exported the catalog. I installed netbackup on linux. I created the same links/paths as original. I am using exact same hostname.
I go through the catalog recover wizard, and it says it completes successfully.
But... I am missing tons of backups when I try to find them in the gui.
For instance, in the log file for the catalog recovery there is this:
20:38:48 (2.001) /netbackup_db/db/images/asfasitp02/1346000000/
20:38:48 (2.001) /netbackup_db/db/images/asfasitp02/1346000000/catstore/NETAPP-SAP-GPD-HOT_1346480190_FULL.f-list
20:38:48 (2.001) /netbackup_db/db/images/asfasitp02/1346000000/catstore/NETAPP-SAP-GPD-HOT_1346480190_FULL.f_imgHeader0
20:38:48 (2.001) /netbackup_db/db/images/asfasitp02/1346000000/catstore/NETAPP-SAP-GPD-HOT_1346480190_FULL.f_imgRecord0
20:38:49 (2.001) /netbackup_db/db/images/asfasitp02/1346000000/catstore/NETAPP-SAP-GPD-HOT_1346480190_FULL.f_imgDir0
20:38:49 (2.001) /netbackup_db/db/images/asfasitp02/1346000000/catstore/NETAPP-SAP-GPD-HOT_1346480190_FULL.f_imgFile0
20:38:49 (2.001) /netbackup_db/db/images/asfasitp02/1346000000/catstore/NETAPP-SAP-GPD-HOT_1346480190_FULL.f_imgNDMP0
20:38:49 (2.001) /netbackup_db/db/images/asfasitp02/1346000000/catstore/NETAPP-SAP-GPD-HOT_1346480190_FULL.f_imgExtraObj0
20:38:44 (2.001) /netbackup_db/db/images/asfasitp02/1338000000/catstore/NETAPP-SAP-APD-HOT_1338346755_FULL.f_imgNDMP0
20:38:44 (2.001) /netbackup_db/db/images/asfasitp02/1338000000/catstore/NETAPP-SAP-APD-HOT_1338346755_FULL.f_imgExtraObj0
20:38:44 (2.001) /netbackup_db/db/images/asfasitp02/1338000000/catstore/NETAPP-SAP-APD-HOT_1338346755_FULL.f_imgUserGroupNames0
20:38:44 (2.001) /netbackup_db/db/images/asfasitp02/1338000000/catstore/NETAPP-SAP-APD-HOT_1338346755_FULL.f_imgStrings0
But if I do an ls on the directory:
root@chazbs02 { /usr/openv/netbackup/logs/user_ops/root/logs }
> 326 $ ls /netbackup_db/db/images/asfasitp02/1338000000
ls: cannot access /netbackup_db/db/images/asfasitp02/1338000000: No such file or directory
So the log file said it was restoring, but it's not there at the end?
Here is the bottom of the log file from restore:
20:39:31 (2.001) chmod 655 /netbackup_db/db/class/NETAPP-SAP-P01-COLD to reset permissions.
20:39:31 (2.001) chmod 2750 /opt/openv/var/websvccreds/WSL to reset permissions.
20:39:31 (2.001) chmod 2750 /opt/openv/var/global/wsl/credentials/clients to reset permissions.
20:39:31 (2.001) chmod 2750 /opt/openv/var/global/wsl/credentials to reset permissions.
20:39:42 (2.001) INF - TAR EXITING WITH STATUS = 0
20:39:42 (2.001) INF - TAR RESTORED 209596 OF 209596 FILES SUCCESSFULLY
20:39:42 (2.001) INF - TAR KEPT 0 EXISTING FILES
20:39:42 (2.001) INF - TAR PARTIALLY RESTORED 0 FILES
20:39:42 (2.xxx) INF - Status = the requested operation was successfully completed.
20:40:07 INF - Database restore started
Restore started Thu Feb 12 20:40:10 2015
20:40:11 (4.001) Restoring from copy 1 of image created Fri Jan 9 14:00:32 2015 from policy Catalog-Backup
20:40:11 (4.001) TAR STARTED 31364
20:40:12 (4.001) INF - Beginning restore from server chazbs02 to client chazbs02.
20:40:14 (4.001) /opt/openv/db/staging/DARS_DATA.db
20:40:14 (4.001) /opt/openv/db/staging/DARS_INDEX.db
20:40:15 (4.001) /opt/openv/db/staging/DBM_DATA.db
20:40:15 (4.001) /opt/openv/db/staging/DBM_INDEX.db
20:40:15 (4.001) /opt/openv/db/staging/EMM_DATA.db
20:40:16 (4.001) /opt/openv/db/staging/EMM_INDEX.db
20:40:16 (4.001) /opt/openv/db/staging/JOBD_DATA.db
20:40:16 (4.001) /opt/openv/db/staging/NBDB.db
20:40:16 (4.001) /opt/openv/db/staging/NBDB.log.1
20:40:16 (4.001) /opt/openv/db/staging/SEARCH_DATA.db
20:40:16 (4.001) /opt/openv/db/staging/SEARCH_INDEX.db
20:40:17 (4.001) /opt/openv/db/staging/SLP_DATA.db
20:40:17 (4.001) /opt/openv/db/staging/SLP_INDEX.db
20:40:17 (4.001) /opt/openv/db/staging/databases.conf
20:40:17 (4.001) /opt/openv/db/staging/server.conf
20:40:17 (4.001) /opt/openv/db/staging/vxdbms.conf
20:40:17 (4.001) INF - TAR EXITING WITH STATUS = 0
20:40:17 (4.001) INF - TAR RESTORED 16 OF 16 FILES SUCCESSFULLY
20:40:17 (4.001) INF - TAR KEPT 0 EXISTING FILES
20:40:17 (4.001) INF - TAR PARTIALLY RESTORED 0 FILES
20:40:18 (4.001) Status of restore from copy 1 of image created Fri Jan 9 14:00:32 2015 = the requested operation was successfully completed
20:40:18 INF - Server status = 0
20:40:18 (4.xxx) INF - Status = the requested operation was successfully completed.
20:40:23 INF - Database recovery started
20:40:23 WRN - No database backup found in /usr/openv/db/staging for NBAZDB defined in vxdbms.conf
20:40:23 INF - Shutting down databases
20:40:24 INF - Applying transaction log: /usr/openv/db/staging/NBDB.log.1
20:40:24 INF - Applying transaction log: /usr/openv/db/staging/NBAZDB.log.1
20:40:24 INF - Applying transaction log: /usr/openv/db/staging/NBDB.log
20:40:24 INF - Moving database files from /usr/openv/db/staging
20:40:24 INF - Source /usr/openv/db/staging/EMM_DATA.db
20:40:24 INF - Destination /usr/openv/db/data/EMM_DATA.db
20:40:24 INF - Source /usr/openv/db/staging/DBM_DATA.db
20:40:24 INF - Destination /usr/openv/db/data/DBM_DATA.db
20:40:25 INF - Source /usr/openv/db/staging/DARS_DATA.db
20:40:25 INF - Destination /usr/openv/db/data/DARS_DATA.db
20:40:25 INF - Source /usr/openv/db/staging/SEARCH_DATA.db
20:40:25 INF - Destination /usr/openv/db/data/SEARCH_DATA.db
20:40:25 INF - Source /usr/openv/db/staging/JOBD_DATA.db
20:40:25 INF - Destination /usr/openv/db/data/JOBD_DATA.db
20:40:25 INF - Source /usr/openv/db/staging/SLP_DATA.db
20:40:25 INF - Destination /usr/openv/db/data/SLP_DATA.db
20:40:25 INF - Source /usr/openv/db/staging/NBDB.db
20:40:25 INF - Destination /usr/openv/db/data/NBDB.db
20:40:25 INF - Source /usr/openv/db/staging/EMM_INDEX.db
20:40:25 INF - Destination /usr/openv/db/data/EMM_INDEX.db
20:40:25 INF - Source /usr/openv/db/staging/DBM_INDEX.db
20:40:25 INF - Destination /usr/openv/db/data/DBM_INDEX.db
20:40:26 INF - Source /usr/openv/db/staging/DARS_INDEX.db
20:40:26 INF - Destination /usr/openv/db/data/DARS_INDEX.db
20:40:26 INF - Source /usr/openv/db/staging/SEARCH_INDEX.db
20:40:26 INF - Destination /usr/openv/db/data/SEARCH_INDEX.db
20:40:26 INF - Source /usr/openv/db/staging/SLP_INDEX.db
20:40:26 INF - Destination /usr/openv/db/data/SLP_INDEX.db
20:40:26 INF - Creating /usr/openv/db/data/vxdbms.conf
20:40:26 INF - Creating /usr/openv/var/global/server.conf
20:40:26 INF - Creating /usr/openv/var/global/databases.conf
20:40:26 INF - Starting up databases
20:40:31 INF - Database recovery successfully completed
20:40:31 INF - Recovery successfully completed
20:40:42 INF - Catalog recovery has completed.
Does anything look out of place? There are thousands of entires in the log of images that were restored, but they are not there.
I'm also going to attach the entire catalog restore log in case anyone can figure this out.