Veritas NetBackup™ for DB2 Administrator's Guide
- Introduction to NetBackup for DB2
- Installing NetBackup for DB2
- Verifying the operating system and platform compatibility
- About log archiving
- 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
- Creating DB2 scripts manually
- 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
Using the user exit archive method
NetBackup for DB2 includes a user exit program that you can use to back up the archive logs. Any DB2 release lets you use this log archive method. The syntax for specifying the user exit method depends on the DB2 release.
If your DB2 configuration uses the USEREXIT, LOGRETAIN, or LOGARCHMETH1 keyword in its configuration parameters, note the following:
NetBackup for DB2 backs up and restores the archive log files as individual files.
DB2 supports this archive method only for backward compatibility.
To use the user exit archive method
- Quiesce the DB2 database.
Perform this procedure and the configuration procedures at a time when minimal changes are made to the DB2 database.
- Specify the archive method.
The method you use to specify these parameters and the syntax for these parameters depends on the DB2 version level. For more information on the effects of these parameters within DB2, or on the specific syntax for these parameters, see your DB2 documentation.
- If your DB2 configuration uses the USEREXIT, LOGRETAIN, or LOGARCHMETH1 keyword in its configuration parameters, configure one of the following:
On Windows, a separate NetBackup MS-Windows policy that includes the archive logs.
On UNIX, a separate NetBackup Standard policy that includes the archive logs.
On UNIX, directories for the user exit program to use when it copies the archive logs. You may also want to create a separate NetBackup Standard policy for backing up these directories.
On Windows, directories for the user exit program to use when it copies the archive logs. You may also want to create a separate NetBackup MS-Windows policy for backing up these directories.
On UNIX, modify an existing NetBackup Standard policy with a user backup schedule. Include the archive log directories..
On Windows, modify an existing NetBackup MS-Windows policy with a user backup schedule. Include the archive log directories.
- Verify your DB2 configuration to ensure that the appropriate log archiving method for your site is enabled.
If necessary, edit your DB2 configuration specifications to specify the log archiving method.