Veritas NetBackup™ for DB2 Administrator's Guide
- Introduction to NetBackup for DB2
- Installing NetBackup for DB2
- Configuring NetBackup for DB2
- About configuring a backup policy for DB2
- About adding backup selections to a DB2 policy
- About backing up archive log files with the user exit program
- Configuring the run-time environment
- Creating a db2.conf file for use with the user exit program
- Creating a db2.conf file (vendor method)
- Configuring bp.conf files in a cluster environment
- About NetBackup for DB2 templates and shell scripts
- Performing backups and restores of DB2
- About user-directed backups
- Performing a database restore
- About an alternate restore
- Using Snapshot Client with NetBackup for DB2
- About NetBackup for DB2 with Snapshot Client operations
- Restoring NetBackup for DB2 from a snapshot backup
- About configuring NetBackup for DB2 block-level incremental backups on UNIX
- Configuring policies for BLI backups with NetBackup for DB2
- About Snapshot Client effects
- Troubleshooting NetBackup for DB2
- About the NetBackup for DB2 log files
- Appendix A. Configuration for a DB2 EEE (DPF) environment
- Appendix B. Using NetBackup for DB2 with SAP®
- Appendix C. Register authorized locations
About NetBackup for DB2 with Snapshot Client operations
NetBackup for DB2 users can initiate snapshot operations directly from the command line using the bpdb2proxy command. However, it is more common to place the command into a backup or restore script and the script is then executed. Alternatively, the NetBackup for DB2 wizards can be used to create backup or restore templates to use snapshots. The template or script specifies the DB2 objects to be backed up or restored by the NetBackup for DB2 agent on the client. The template or script can either be executed directly on the client or can be specified as the backup selection in a DB2 policy. If a template or script is specified in a policy, the master server executes the template or script when automatic schedules are due to run.
When the agent is started, the agent checks that the policy it uses for the backup is configured with the Snapshot Client attributes. The agent then initiates a snapshot that results in file-based backups of the DB2 files using NetBackup to perform the data movement.
The NetBackup for DB2 agent uses DB2 APIs to put the data files into a quiesced mode. NetBackup then creates a snapshot of the files. After the snapshot is created, NetBackup for DB2 uses the DB2 APIs to take the data files out of quiesced mode. The data files are in quiesced mode only for the period of time it takes to create a snapshot.