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. Using Snapshot Client with NetBackup for DB2
  4. About configuring the db2.conf for a snapshot policy
Veritas NetBackup™ for DB2 Administrator's Guide

About configuring the db2.conf for a snapshot policy

A snapshot backup requires that the db2.conf file be configured. The configuration is initially exactly the same as a stream-based backup because DB2 requires an initial stream-based backup before a snapshot backup can be taken. Be sure that the archive stanza is appropriate for the log archive method.

When you use the user-exit method for log archiving, configure the db2.conf in the following ways:

  • Configuration of the db2.conf file for initial stream-based backup:

    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
  • Configuration of the db2.conf file for subsequent snapshot backups:

    • After the initial backup, the db2.conf file needs one modification to the database stanza before snapshot backups are performed. The specified schedule for the database stanza should be changed to the name of the automatic full backup schedule instead of the application backup schedule.

    DATABASE SAMPLE
    OBJECTTYPE DATABASE
    POLICY DB2_DB_Policy
    SCHEDULE Full
    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 (vendor method)

BLI incremental backup options using NetBackup for DB2

NetBackup for DB2 with Snapshot Client features

Feedback

Was this page helpful?
Previous

Configuring a snapshot policy for NetBackup for DB2

Next

Restoring NetBackup for DB2 from a snapshot backup

Feedback

Was this page helpful?