Veritas NetBackup™ for DB2 Administrator's Guide
- Introduction to NetBackup for DB2
- Installing NetBackup for DB2
- Configuring NetBackup for DB2
- Overview of NetBackup for DB2 configuration
- About permissions for NetBackup for DB2 log files (UNIX)
- About configuring a backup policy for a DB2 database
- About adding backup selections to a DB2 policy
- About adding schedules to a NetBackup for DB2 policy
- Performing a manual backup
- Reviewing the auto-discovered mappings in Host Management
- About backing up archive log files with the user exit program
- Configuring the run-time environment
- About NetBackup for DB2 templates and shell scripts
- Performing backups and restores of DB2
- Using Snapshot Client with NetBackup for DB2
- NetBackup for DB2 with Snapshot Client features
- About NetBackup for DB2 with Snapshot Client operations
- About the sequence of a NetBackup for DB2 backup operation with Snapshot Client methods
- About the sequence of a NetBackup for DB2 restore operation with Snapshot Client methods
- About database objects supported by advanced backup methods
- About multistreaming and DB2 snapshot backups
- About symbolic links and DB2 backups and restores (UNIX)
- NetBackup for DB2 stream-based operations
- NetBackup for DB2 file-based operations
- Example: multiple sessions for a DB2 snapshot backup
- About configuring Snapshot Client with NetBackup for DB2
- Configuration requirements for snapshot backups with NetBackup for DB2
- Configuring a snapshot policy for NetBackup for DB2
- About configuring the db2.conf for a snapshot policy
- Restoring NetBackup for DB2 from a snapshot backup
- About restoring individual files from a NetBackup for DB2 snapshot backup
- About NetBackup for DB2 restores of volumes and file systems using snapshot rollback
- Performing a NetBackup for DB2 point-in-time rollback restore from a SnapVault backup (UNIX)
- Performing a snapshot rollback restore from the Java or Windows interface
- Performing a snapshot rollback restore from the command line
- Troubleshooting NetBackup for DB2 rollback restores
- About configuring NetBackup for DB2 block-level incremental backups on UNIX
- How BLI works with NetBackup for DB2 (UNIX)
- About the Storage Checkpoint facility and NetBackup for DB2
- Configuration requirements for BLI backups with NetBackup for DB2
- Storage Checkpoint configuration on the NetBackup for DB2 client
- Configuring policies for BLI backups with NetBackup for DB2
- BLI incremental backup options using NetBackup for DB2
- About Snapshot Client effects
- Performing NetBackup for DB2 backups with Snapshot Client methods
- Performing NetBackup for DB2 restores with Snapshot Client methods
- Troubleshooting NetBackup for DB2
- NetBackup debug logs and reports
- Enabling the debug logs for a NetBackup for DB2 client automatically (Windows)
- Enabling the debug logs manually (Windows)
- Enabling the debug logs manually (UNIX)
- Enabling the debug logs manually (UNIX)
- About the NetBackup for DB2 log files
- Setting the debug level on a Windows client
- Setting the debug level on a UNIX client
- About NetBackup server reports
- Minimizing timeout failures on large database restores
- Minimizing the loading and unloading of tapes for database backups
- Use the NET_BUFFER_SZ file to speed up a slow restore
- About false restore failures reported in the activity monitor
- About the error message codes
- Delays in completion of backup jobs
- Appendix A. Configuration for a DB2 EEE (DPF) environment
- Appendix B. Using NetBackup for DB2 with SAP®
- Appendix C. Register authorized locations
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 When the options DB2_POLICY, DB2_SCHED, DB2_SERVER, DB2_CLIENT, or BKUP_IMAGE_PERM are specified, the corresponding environment variables and 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. |