cancel
Showing results for 
Search instead for 
Did you mean: 

Restore images from duplicate media_id

vlmsysadmin
Level 2
We have NBU 6.5.3. I have been tasked to restore images using the GUI from a specific duplicate media_id (off-site). What are the steps to accomplish that?
2 REPLIES 2

Omar_Villa
Level 6
Employee

You only need to change the duplicated copy to be the primary copy

 

bpduplicate -npc 2 -backupid <backup id>

 

 

once the restore is done you only need to rolledback with the same command but pointing to the copy number 1.

 

regards.

Dion
Level 6
Certified

If you still have both copies (onsite and offsite) and this is to do a test on your OFFSITE media take the following into account.  You onsite copy, if it still exists, will more than likely be the primary copy and the offsite the secondary copy.  NetBackup only restores from the primary copy by default so will always only try your onsite copy while it still exists.  When the onsite copy expires, NetBackup will automatically promote your offsite copy (copy 2) to be the primary copy.

 

It's probably better to do what Omar suggests but if you have to use the GUI (as you stated) you can do the same thing by using the Catalog tab within NetBackup.  You will be able to filter the backup images for a specific host and determine where each of the copies are kept e.g. copy 1 on disk and copy 2 on offsite media.

 

From here you can also promote (if required) your copy 2 to be the primary copy for your test and visa versa when complete.

 

Cheers

 

Dion