Ransomware attackers specifically target and attempt to destroy backup systems to increase the probability of payment. Hardening your system is critical. Please ensure you have reviewed your platform security using the Security Hardening Checklist
Cohesity

COHESITY Documentation

Explore our documentation to get started, discover products & new features, access troubleshooting guides, register sources, platforms support.

Products
Data Security Alliance
Visit Cohesity.com
Demos
Support
Blogs
Developers
Partner Portals
Cohesity Community
© 2026 Cohesity, Inc. All Rights Reserved.
Terms of Use|
Privacy Policy|
Legal|
  1. Home
  2. Veritas NetBackup™ for DB2 Administrator's Guide
  3. Installing NetBackup for DB2
  4. About log archiving
  5. Using the user exit archive method
Veritas NetBackup™ for DB2 Administrator's Guide

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

  1. Quiesce the DB2 database.

    Perform this procedure and the configuration procedures at a time when minimal changes are made to the DB2 database.

  2. 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.

  3. 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.

  4. 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.

More Information

Using the VENDOR archive method

NetBackup for DB2 overview

About NetBackup for DB2 terminology

About adding new DB2 instances

Using the VENDOR archive method

About log archiving

Feedback

Was this page helpful?
Previous

Using the VENDOR archive method

Next

Specifying the DB2 home path (UNIX)

Feedback

Was this page helpful?