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 MS-Windows policy that includes the archive logs.
On UNIX, a separate 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 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 MS-Windows policy for backing up these directories.
On UNIX, modify an existing Standard policy with a user backup schedule. Include the archive log directories..
On Windows, modify an existing 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.