Veritas 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 templates and shell scripts
- 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
Enabling the debug logs manually (Windows)
To create the NetBackup for DB2 for Windows database agent logs manually
- Create the following directories on the client:
bpubsdb2
For any DB2 instance browse problems when a template is created for backup or restore.
install_path\NetBackup\logs\bpubsdb2
bphdb
For any backup that is initiated from an automated schedule on the master server.
install_path\NetBackup\logs\bphdb
bpdbsbdb2
For any template-based backup or restore.
install_path\NetBackup\logs\bpdbsbdb2
bpdb2
For any backup or restore of the database and or LOGARCHMETH2=VENDOR log backups.
install_path\NetBackup\logs\bpdb2
bpbkar
For any snapshot backup and or user-exit log backup.
install_path\NetBackup\logs\bpbkar
tar
For any snapshot restore and or user-exit log restore.
install_path\NetBackup\logs\tar
- Verify the user or group that the DB2 process (process that loads bpdb2) has appropriate permissions to write to the following directories if they exist. If the following directories do not exist, the directories are created automatically with the correct permissions.
install_path\NetBackup\logs\user_ops
install_path\NetBackup\logs\user_ops\dbext
install_path\NetBackup\logs\user_ops\dbext\logs
Also verify that the user or group that the DB2 process runs as has appropriate permissions to write to the log directories in step 1.
- On the NetBackup server or servers, create the debug log directories for the legacy processes that interact with the DB2 agent.
On the master server:
install_path\NetBackup\logs\bprd
On the media server or servers:
install_path\NetBackup\logs\bpbrm
install_path\NetBackup\logs\bptm
- The debug logs for unified processes on the server and the client hosts are created automatically by NetBackup.
NetBackup writes unified logs to install_path\NetBackup\logs.
For information on how to use logs and reports, see the NetBackup Troubleshooting Guide.