08-03-2021 08:07 AM
We are on NBU8.2 on RHEL, currently we have a need to recover partial catalog on DR site, the full catalog recovery took 10 hours to complete with 3TB images recovered, then the increment catalog backup on second day is around 40GB, i expected the increment catalog recovery will only stage the NBDB and restore 40GB new images files. But it looks the increment attempt to run full catalog recovery again which is already completed. i only see one set of DR files for increment catalog backups.
How can we fix it? I mean to make the increment catalog recovery only stage the NBDB and restore new images? should we modify the increment catalog DR file and take out full backup references?
thanks.
Solved! Go to Solution.
08-03-2021 09:22 AM - edited 08-03-2021 09:23 AM
there is no automatic incremental recovery of the database
But if I ware you, I would
I have never try it. I think that you need to import the tape first. If you are using AIR no import is needed
It is an incremental restore, that's why I suggest to restore only the image directory. If you need to restore all the flat files, restore them to a temp location, stop netbackup and copy them to the right location
08-03-2021 09:22 AM - edited 08-03-2021 09:23 AM
there is no automatic incremental recovery of the database
But if I ware you, I would
I have never try it. I think that you need to import the tape first. If you are using AIR no import is needed
It is an incremental restore, that's why I suggest to restore only the image directory. If you need to restore all the flat files, restore them to a temp location, stop netbackup and copy them to the right location
08-03-2021 03:47 PM
Hi @FlyMountain
I'd go with what @StefanosM is suggesting, you can use the BAR GUI to select the last incremental backup only (backup type is NBU-Catalog), and then restore the various parts you need (I'd grab the entire contents of the catalog backup and restore them back to their original locations on the DR system).
Once the NBDB is restored back to the staging directory, you should be able to shutdown NetBackup and copy the files back into the proper database location.
I have also not tried this, but see no fundamental reason why it wouldn't work.
Given the size of your catalog, you may want to investigate a better way of keeping your DR master server up to date.
Cheers
David