Restore - retrieving an object's data
Another type of transaction is a restore transaction. A restore transaction is identified by the first BSAGetObject() call. A difference from a backup transaction is that there can also be BSAQueryObject() calls within a restore transaction, which is useful to get the object descriptor of the object the XBSA application is restoring. BSAGetObject() starts the process of retrieving an object. Once the object has been retrieved, multiple BSAGetData() calls are used to retrieve the data associated with an object. The last BSAGetData() call returns BSA_NO_MORE_DATA that signals that the NetBackup XBSA interface has completed sending the data. The BSAEndData() call then releases all of the resources.