Veritas NetBackup™ DataStore SDK Programmer's Guide for XBSA 1.1.0
- Introduction to NetBackup XBSA
- How to set up the SDK
- Using the NetBackup XBSA interface
- NetBackup XBSA data structures
- NetBackup XBSA environment
- XBSA sessions and transactions
- Creating a NetBackup XBSA application
- Initiating a session
- Backup - creating an object
- Query - finding an object descriptor
- Restore - retrieving an object's data
- Delete - deleting an object or image
- Media IDs - obtaining media IDs
- How to build an XBSA application
- How to run a NetBackup XBSA application
- About How to run a NetBackup XBSA application
- API reference
- Function calls
- Function specifications
- Type definitions
- Process flow and troubleshooting
- How to use the sample files
- Support and updates
- Appendix A. Register authorized locations
Update the current environment for the session.
int NBBSAUpdateEnv(BSA_Handle *bsaHandle, char **envPtr)
NBBSAUpdateEnv() resets the environment pairs in the current environment. It performs the same functionality as NBBSASetEnv() except it takes a string of multiple (keyword, value) pairs. The same restrictions apply to updating some of the restricted variables. If a variable exists in the environment but is not included in the list being updated, it remains in the environment.
The XBSA specifications do not provide a way for these XBSA environment variables to be reset after the session has been initiated with BSAInit().
BSA_Handle bsaHandle (I)
The handle that associates this call with a previous BSAInit() call.
char **envPtr (I)
Pointer to a structure that contains the new environment variables (keyword, value) pairs, for the session. The environment consists of a pointer to an array of strings.
The following return codes are returned by this function:
The specified XBSA environment variable has been set.