09-21-2017 11:19 AM - edited 09-21-2017 11:20 AM
A couple months back I setup my catalog backups to create two copies; one in catalog pool that goes offsite and one in a catalog pool that stays onsite. So in the catalog recovery file I see something like this in it:
#DR_MEDIA_REC: ver rtype mtype host c# p# policies# policies kbytes nimg vimg hsize off subtype client_type sched_type run_time id/path frag_id media_desc bcode den
DR_MEDIA_REC 1 0 2 rgprbk01 1 1 0 353120 1 1 1024 1384 1 7 0 1505994311 T21395 *NULL* T21395 6
DR_MEDIA_REC 1 0 2 rgprbk01 2 1 0 1666234472 27 22 1024 6508798 1 7 0 1505994311 R20181 *NULL* R20181 6
DR_MEDIA_REC 1 0 2 rgprbk01 1 1 0 353120 1 1 1024 1384 1 35 0 1505994577 T21395 *NULL* T21395 6
DR_MEDIA_REC 1 0 2 rgprbk01 2 1 0 1666234472 27 22 1024 6508798 1 35 0 1505994577 R20181 *NULL* R20181 6
T21395 and R20181 are my two catalog recovery tapes.
Now for the stupid question :)
We are coming up on out first offsite disaster recovery test. When I start the recovery and point it to the above file will Netbackup then look for *either* of the above two tapes in the tape silo? Only one will be there. I want to be 100% sure this is how catalog recovery will work.
Solved! Go to Solution.
09-28-2017 07:09 AM
I have not been able to find the meaning of all the fields in the DR-file, but my interpretation is as follows:
rgprbk01 1 ...... T21395
rgprbk01 2 ...... R20181
The '1' is IMHO copy 1, and '2' copy 2.
Now we know that NBU will request the primary copy (normally copy 1) by default.
To recover from a non-primary copy, use bprecover with the copy number:
bprecover -wizard copy N
See: https://www.veritas.com/support/en_US/article.TECH125784
09-28-2017 07:09 AM
I have not been able to find the meaning of all the fields in the DR-file, but my interpretation is as follows:
rgprbk01 1 ...... T21395
rgprbk01 2 ...... R20181
The '1' is IMHO copy 1, and '2' copy 2.
Now we know that NBU will request the primary copy (normally copy 1) by default.
To recover from a non-primary copy, use bprecover with the copy number:
bprecover -wizard copy N
See: https://www.veritas.com/support/en_US/article.TECH125784
09-29-2017 08:02 AM
@Marianne is correct. The field next to host is "C#" (copy number) and tape T21395 will needed when you need to recover the catalog.
09-29-2017 08:03 AM
Thank you!