NetBackup™ for DB2 Administrator's Guide
- Introduction to NetBackup for DB2
- Installing NetBackup for DB2
- Configuring NetBackup for DB2
- About configuring a backup policy for DB2
- About adding backup selections to a DB2 policy
- About backing up archive log files with the user exit program
- Configuring the run-time environment
- Creating a db2.conf file for use with the user exit program
- Creating a db2.conf file (vendor method)
- Configuring bp.conf files in a cluster environment
- About NetBackup for DB2 shell scripts
- Performing backups and restores of DB2
- Using Snapshot Client with NetBackup for DB2
- About NetBackup for DB2 with Snapshot Client operations
- Restoring NetBackup for DB2 from a snapshot backup
- About configuring NetBackup for DB2 block-level incremental backups on UNIX
- Configuring policies for BLI backups with NetBackup for DB2
- About Snapshot Client effects
- Troubleshooting NetBackup for DB2
- About the NetBackup for DB2 log files
- Appendix A. Configuration for a DB2 EEE (DPF) environment
- Appendix B. Using NetBackup for DB2 with SAP®
- Appendix C. Register authorized locations
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. |