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. NetBackup™ for DB2 Administrator's Guide
  3. Configuring NetBackup for DB2
  4. Configuring the run-time environment
  5. Creating a db2.conf file for use with the user exit program
  6. Example db2.conf file using ARCFUNC SAVE
NetBackup™ for DB2 Administrator's Guide

Example db2.conf file using ARCFUNC SAVE

Assume that you need to back up a database named SAMPLE and its archive logs. USEREXIT is enabled for database SAMPLE. The policies for the database SAMPLE include the required schedules for the backups.

The policies are as follows:

  • The DB2_DB_Policy backs up the database. This policy has an application backup schedule and an automatic backup schedule. The first definition in the example db2.conf file specifies this policy and its application backup schedule, which is named Default-Application-Backup. The automatic backup schedule is not specified in db2.conf.

  • The DB2_Log_Policy backs up the archive logs. This policy has a user backup schedule named User. The second entry in the example file specifies this policy and its user backup schedule.

    DATABASE SAMPLE
    OBJECTTYPE DATABASE
    POLICY DB2_DB_Policy
    SCHEDULE Default-Application-Backup
    ENDOPER
    
    DATABASE SAMPLE
    OBJECTTYPE ARCHIVE
    POLICY DB2_Log_Policy
    SCHEDULE User
    ARCFUNC SAVE
    #ARCFUNC COPY
    
    #ARCDIR C:\MyLogs\arcdir\
    #RETDIR C:\MyLogs\arcdir\
    
    #ARCDIR /home/db2inst1/arcdir
    #RETDIR /home/db2inst1/arcdir
    
    ENDOPER

Feedback

Was this page helpful?
Previous

Creating a db2.conf file for use with the user exit program

Next

Example db2.conf file using ARCFUNC COPY

Feedback

Was this page helpful?