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. BACKUP DATABASE command options
Veritas NetBackup™ for DB2 Administrator's Guide

BACKUP DATABASE command options

You can back up a DB2 database to NetBackup with either the DB2 BACKUP DATABASE command or with its alternative syntax, BACKUP DB.

Table: DB2 BACKUP command options lists the command options when used in a NetBackup for DB2 environment.

Table: DB2 BACKUP command options

Option

Purpose

LOAD NBDB2_library_path

Instructs DB2 to use the NBDB2 vendor library when it performs the backup.

OPEN number SESSIONS

Specifies the number of concurrent data streams used for writing data. Use this option if you have multiple backup devices available, or you have multiplexing enabled in NetBackup.

WITH number BUFFERS

Use this option when opening multiple sessions. See OPEN number SESSIONS. The number of buffers must be twice the number of sessions.

BUFFER size

Use this option to increase or decrease the buffer size, if necessary. Increased size can benefit performance, but decreased size might be necessary if using numerous buffers. DB2 recommends that the size be a multiple of the extent size. The DB2 DFT_EXTENT_SZ setting defines the default extent size.

WITHOUT PROMPTING

This option is required for unattended backups. It must be specified in the backup scripts that NetBackup executes.

INCREMENTAL

Use this option to perform a cumulative backup.

INCREMENTAL DELTA

Use this option to perform a differential backup.

ONLINE

Use this option to back up hot, or active, databases.

OPTIONS "options-string"

Specifies the options that are to be used for the backup operation. The string passes to the vendor support library, for example nbdb.so, exactly as it was entered, without the quotes.

When the options DB2_POLICY, DB2_SCHED, DB2_SERVER, DB2_CLIENT, or BKUP_IMAGE_PERM are specified, the corresponding environment variables and db2.conf keywords are overridden.

For more details about these options:

If multiple key=value pairs are specified, they are colon delimited. The following example shows colon delimited key=value pairs:

DB2 BACKUP ... OPTIONS "DB2_POLICY=policy3:DB2_SCHED=sched4"

Note:

Specifying this option overrides the value that the VENDOROPT database configuration parameter specifies.

PARALLELISM n

Determines the number of tablespaces which can be read in parallel by the backup utility. DB2 automatically chooses an optimal value for this parameter unless you explicitly enter a value.

More Information

Keywords for the db2.conf file

NetBackup for DB2 environment variables

About user-directed backups

NetBackup for DB2 backup overview

Using DB2 to run a user-directed backup

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

Feedback

Was this page helpful?
Previous

Using DB2 to run a user-directed backup

Next

Using the Backup, Archive, and Restore interface to browse DB2 resources

Feedback

Was this page helpful?