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 (vendor method)
  6. Example db2.conf file (vendor method)
Veritas NetBackup™ for DB2 Administrator's Guide

Example db2.conf file (vendor method)

Assume that you need to back up a database named SAMPLE and its archive logs. The VENDOR method is enabled for database SAMPLE. The policies for database SAMPLE specify 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_ARCH_Policy backs up the archive logs. This policy has an application backup schedule named Default-Application-Backup. The third entry in the example file specifies this policy and its application 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 /home/db2inst1/arcdir
#RETDIR /home/db2inst1/arcdir
#ENDOPER

DATABASE SAMPLE
OBJECTTYPE ARCHIVE
POLICY DB2_ARCH_Policy
SCHEDULE Default-Application-Backup
ENDOPER

More Information

Creating a db2.conf file (vendor method)

Keywords for the db2.conf file

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

Feedback

Was this page helpful?
Previous

Creating a db2.conf file (vendor method)

Next

Configuring bp.conf files in a cluster environment

Feedback

Was this page helpful?