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
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 when you configure automatic backups or when operations start 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 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:
Run a script from the operating system command line. You can create these scripts manually.
Use the scripts that are specified in policies. When you back up a NetBackup policy, it uses the scripts that are specified in the policy.
You can specify a catalog name during a database copy backup and an archive log backup.
The main types of DB2 backups are as follows:
database backup 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. You can specify the CATALOG_HOST in the |
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. If you specify LOGARCHMETH1 and or LOGARCHMETH2 equal to VENDOR, you can specify the CATALOG_HOST in the These CATALOG_HOST and DB2_CATALOG_HOST keywords do not apply to the archive log backups that use the user exit program. |
configuration file backup | 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. |