Media IDs - obtaining media IDs
Obtaining the Media IDs for a NetBackup image is done with the NBBSAGetMediaIds() function. NBBSAGetMediaIds () gets all of the Media IDs associated with an image that contains one or more objects. The NBBSAGetMediaIds () function takes a copyId of any object contained in the image as one of its parameters. The Media IDs for multiple images can be obtained in one transaction and you can have query operations within a Media ID transaction.