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. About user-directed backups
  5. Using DB2 to run a user-directed backup
Veritas NetBackup™ for DB2 Administrator's Guide

Using DB2 to run a user-directed backup

To start a user-directed backup, run the DB2 BACKUP DATABASE command.

You can run this command from the DB2 command line on the client (UNIX) or from the DB2 command window on the client.

Depending on the release of DB2 that you use, issue the BACKUP DATABASE command in one of the following formats to perform a backup.

Table: BACKUP DATABASE command formats

Format

Description

Offline backup

Issue the command in the following format:

Windows: db2 backup db sample load install_path\NetBackup\bin\nbdb2.dll

UNIX: db2 backup db sample load \ /usr/openv/netbackup/bin/lib

The specification for lib differs depending on your platform.

Online backup

Issue the command in the following format:

Windows: db2 backup db sample online load install_path\NetBackup\bin\nbdb2.dll

UNIX: db2 backup db sample online load /usr/openv/netbackup/bin/lib

For lib, specify the same path as shown for the preceding format (Format 1).

For more information on the DB2 BACKUP DATABASE command, see your DB2 documentation.

More Information

About the NetBackup for DB2 components

BACKUP DATABASE command options

BACKUP DATABASE command options

About user-directed backups

NetBackup for DB2 backup overview

BACKUP DATABASE command options

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

Feedback

Was this page helpful?
Previous

Using bpdbsbdb2 to run a user-directed backup

Next

BACKUP DATABASE command options

Feedback

Was this page helpful?