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
- How to build an XBSA application
- 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
Backups and restores initiated by NetBackup (via a script)
The XBSA application can be initiated through NetBackup. This allows the XBSA application to be treated like the rest of the system environment when creating and scheduling backup windows and other resource considerations. Backup and restore operations through NetBackup are done via scripts. When a DataStore policy is configured, the Files list is actually a script that is to be executed when the backup or restore is initiated. That script will be executed as a user-directed backup. These scripts should contain any commands that are required to prepare the application for a backup or restore, including setting up an environment, halting processes, and so on, along with calling the XBSA application with the parameters that are required to execute the backup or restore operations.
There is no ability to browse for backups. The Files list is a script to be executed, not a list of objects that can be restored. It is up to these scripts to determine what needs to be backed up or conversely what XBSA objects need to be restored. In this regard, the XBSA application needs to be fairly intelligent or allow options that can be specified to give the script the ability to be intelligent.