cancel
Showing results for 
Search instead for 
Did you mean: 

Catalog backup and restore test

iaw
Level 5

Hi,

I test run catalog backup and it completed succesfully.
When I tried, recover the catalogs it says error, failed to load DR image /backup/drfile/ (20)

The disaster recovery files are there in /backup/drfile
-rw------- 1 root root 1923 Sep  8 08:49 CatalogBackup_1378604926_FULL
-rw------- 1 root root 2054 Sep 12 21:11 CatalogBackup_1378995069_FULL
-rw------- 1 root root 2973 Sep 12 21:23 CatalogBackup_1378995803_FULL

Are there any missed step I need to follow?

Thanks,
IAW

24 REPLIES 24

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

You will probably have to stop everything, recreate the EMM db as per the manual and then start the catalog recovery again.

Just create all logs before you start all over - 
bprd
bpdbm
bptm
bpdm (if restoring from Disk stu)
tar

Mark_Solutions
Level 6
Partner Accredited Certified

As this is titled "test" could you explain why this was done on yoru live system - did it actually have an issue?

Also, any reason for not using the Catalog Recovery Wizard from the Admin Console?

iaw
Level 5

I leave it till the catalog recovering completed.
It looks like my nbu is running normally now.

Thanks all.
 

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

Curious to know if there were any more entries in the Recover## or jbpRestore-## log files?

iaw
Level 5

15:51:14 INF - Creating /usr/openv/var/global/databases.conf
15:51:14 INF - Starting up databases
22:41:33 INF - Database recovery successfully completed

22:41:33 INF - Recovery successfully completed
22:41:34 INF - Catalog recovery has completed.
22:41:34
WRN - NetBackup will not run scheduled backup jobs until NetBackup is restarted.
 

It took around 8 hours to recover catalog with size ~400MB ?
Is it normal time?
 

Below are my catalog backup files.

-rw------- 1 root root 379027456 Sep 12 21:26 app1_1378995803_C1_F1.1378995803.img
-rw------- 1 root root      4096 Sep 12 21:26 app1_1378995803_C1_F1.1378995803.info
-rw------- 1 root root      4096 Sep 12 21:26 app1_1378995803_C1_HDR.1378995803.img
-rw------- 1 root root      4096 Sep 12 21:26 app1_1378995803_C1_HDR.1378995803.info
-rw------- 1 root root     98304 Sep 12 21:26 app1_1378995803_C1_TIR.1378995803.img
-rw------- 1 root root      4096 Sep 12 21:26 app1_1378995803_C1_TIR.1378995803.info