02-13-2009 12:37 PM
02-13-2009 01:45 PM
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.
02-13-2009 04:25 PM
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