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. 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 COPY
Veritas NetBackup™ for DB2 Administrator's Guide

Example db2.conf file using ARCFUNC COPY

Assume that you need to back up a database named SAMPLE and its archive logs. USEREXIT is enabled for database SAMPLE. The policies for 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 ARCFUNC COPY command copies the archive logs to the ARCDIR directory.

    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

More Information

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

Example db2.conf file using ARCFUNC SAVE

Keywords for the db2.conf file

Creating a db2.conf file (vendor method)

Feedback

Was this page helpful?
Previous

Example db2.conf file using ARCFUNC SAVE

Next

Creating a db2.conf file (vendor method)

Feedback

Was this page helpful?