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. Performing backups and restores of DB2
  4. NetBackup for DB2 backup overview
Veritas NetBackup™ for DB2 Administrator's Guide

NetBackup for DB2 backup overview

After you have completed installing and configuring NetBackup for DB2, you can start DB2 backups and restores through NetBackup. You can also run DB2 commands directly.

Note:

Always specify the correct DB2 script or template when configuring automatic backups or when starting operations through NetBackup. NetBackup for DB2 does not generate an error if a restore DB2 script file is used for a backup operation. Also, NetBackup for DB2 does not generate an error when a backup DB2 template or script is used for a restore operation.

NetBackup for DB2 provides the following ways to perform a backup:

  • Issue a DB2 command from the DB2 control center or command-line processor. The DB2 BACKUP and RESTORE commands use the policies, schedules, and settings that are specified in the following sources:

    • The NetBackup for DB2 vendor I/O library.

      On UNIX, this library is named nbdb2.ext, where ext differs depending on your platform.

      On Windows, this library is named nbdb2.dll.

    • The NetBackup for DB2 configuration file. This file is named db2.conf.

  • Run a script from the operating system command line. You can create scripts from scratch, or you can base a script on a template that you created earlier.

  • Use the templates that are initiated from the template wizards or Template Administration interface.

  • Use the templates and the scripts that are specified in policies. When you back up a NetBackup policy, it uses the templates and scripts that are specified in the policy.

The main types of DB2 backups are as follows:

database copy

A copy of the entire DB2 database or tablespace. This backup is accomplished by issuing a DB2 BACKUP DATABASE command. A database backup can be initiated through NetBackup by an automatic backup of a DB2 policy, manual backup of a DB2 policy, or user-directed backup.

See About backups from the NetBackup master server.

See About user-directed backups.

archive log backup

An archive log backup is a backup of an archive log file for DB2. If VENDOR is enabled in the DB2 configuration files, NetBackup for DB2 backs up the archive logs along with the database files. If the user exit program is enabled in the DB2 configuration file, you need a separate policy and schedule to back up the archive logs.

database copy

A configuration file backup is a backup of the DB2 configuration files that you need to recover the database in the case of a disaster.

You can use a Standard policy (UNIX) or MS-Windows policy with a User Backup schedule to back up the files.

For information on which files to back up, see your IBM DB2 documentation.

More Information

Using the DB2 template administration interface to run a user-directed backup

BACKUP DATABASE command options

Performing a database restore

Feedback

Was this page helpful?
Previous

Performing backups and restores of DB2

Next

About backups from the NetBackup master server

Feedback

Was this page helpful?