Veritas NetBackup™ for DB2 Administrator's Guide
- Introduction to NetBackup for DB2
- Installing NetBackup for DB2
- Verifying the operating system and platform compatibility
- About log archiving
- 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 templates and shell scripts
- Creating DB2 scripts manually
- Performing backups and restores of DB2
- About user-directed backups
- Performing a database restore
- About an alternate restore
- 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.
Always specify the correct DB2 script or template when configuring automatic backups or when starting operations 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 template or 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 scripts from scratch, or you can base a script on a template that you created earlier.
Use the templates that are initiated from the template wizards or Template Administration interface.
Use the templates and the scripts that are specified in policies. When you back up a NetBackup policy, it uses the templates and scripts that are specified in the policy.
The main types of DB2 backups are as follows:
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.
See About backups from the NetBackup master server.
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.
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.