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
- Using the NetBackup for DB2 recovery wizard
- Using DB2 to perform a 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
About NetBackup for DB2 templates and shell scripts
To perform a scheduled NetBackup for DB2 backup, you must create a template or a shell script. The template or the shell script controls the backup job on the NetBackup for DB2 client. You add this template or the shell script to thelist in the NetBackup for DB2 policy on the master server. You can also use the template or the shell script to manually start a backup on the client.
The following describes templates and shell scripts.
The NetBackup for DB2 backup wizard does not support all of the commands and options that DB2 provides. If a template does not provide all of the required functionality, you must write a script.
Shell scripts the user writes, must conform to DB2 syntax. On UNIX, they must conform to the UNIX shell syntax.
NetBackup for DB2 also provides a utility, bpdbsbdb2, that can generate a shell script from a backup wizard template. This utility lets you create a template with the wizard and then generate a shell script from it. You can then run the shell script or modify the shell script further.