Please enter search query.
 
              Search <book_title>...
            
 
          NetBackup™ DataStore SDK Programmer's Guide for XBSA 1.1.0
                Last Published: 
				
                2022-03-28
              
              
                Product(s): 
				
                 NetBackup (10.0)
              
              
            - Introduction to NetBackup XBSA
- How to set up the SDK
- Using the NetBackup XBSA interface- Getting help with the API
- NetBackup XBSA data structures
- NetBackup XBSA environment
- XBSA sessions and transactions
- Creating a NetBackup XBSA application
 
- How to build an XBSA application
- How to run a NetBackup XBSA application
- API reference- Error messages
- Function calls
- Function specifications- BSABeginTxn
- BSACreateObject
- BSADeleteObject
- BSAEndData
- BSAEndTxn
- BSAGetData
- BSAGetEnvironment
- BSAGetLastError
- BSAGetNextQueryObject
- BSAGetObject
- BSAInit
- BSAQueryApiVersion
- BSAQueryObject
- BSAQueryServiceProvider
- BSASendData
- BSATerminate
- NBBSAAddToMultiObjectRestoreList
- NBBSADeleteImage
- NBBSAEndGetMultipleObjects
- NBBSAFreeJobInfo
- NBBSAGetEnv
- NBBSAGetErrorString
- NBBSAGetJobId
- NBBSAGetJobInfo
- NBBSAGetMediaIds
- NBBSAGetMultipleObjects
- NBBSAGetServerError
- NBBSALogMsg
- NBBSASetEnv
- NBBSAUpdateEnv
- NBBSAValidateFeatureId
 
- Type definitions
 
- Process flow and troubleshooting
- How to use the sample files
- Support and updates
- Appendix A. Register authorized locations
- Index
BSA_QueryDescriptor
The BSA_QueryDescriptor structure is used to query the repository to locate objects. It is defined as follows:
#include <time.h>;
typedef struct {
   BSA_ObjectOwner       objectOwner;
   BSA_ObjectName        objectName;
   struct tm             createTime_from;
   struct tm             createTime_to;
   struct tm             rsv1;
   struct tm             rsv2;
   BSA_CopyType          copyType;
   char                  rsv3[31];
   char                  rsv4[31];
   char                  rsv5[31];
   BSA_ObjectType         objectType;
   BSA_ObjectStatus      objectStatus;
   char                  rsv6[100];
} BSA_QueryDescriptor;The usage of the structure fields is defined as follows:
Table: BSA_QueryDescriptor Structure Fields
| Field Name | Definition | 
|---|---|
| objectOwner | Owner of the object | 
| objectName | Object name | 
| createTime_from | Date time to start looking for the object | 
| createTime_to | Date time to stop looking for the object | 
| rsv1 | reserved field | 
| rsv2 | reserved field | 
| copyType | Copy type: archive or backup | 
| rsv4 | reserved field | 
| rsv5 | reserved field | 
| rsv5 | reserved field | 
| objectType | Examples are file, directory, database | 
| objectStatus | Most recent / not most recent | 
| rsv8 | reserved field |