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 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: