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 (UNIX)
To create the NetBackup for DB2 for UNIX 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.
/usr/openv/netbackup/logs/bpubsdb2
bphdb
For any backup that is initiated from an automated schedule on the master server.
/usr/openv/netbackup/logs/bphdb
bpdbsbdb2
For any template-based backup or restore.
/usr/openv/netbackup/logs/bpdbsbdb2
bpdb2
For any backup or restore of the database and or LOGARCHMETH2=VENDOR log backups.
/usr/openv/netbackup/logs/bpdb2
bpbkar
For any snapshot backup and or user-exit log backup.
/usr/openv/netbackup/logs/bpbkar
nbtar
For any snapshot restore and or user-exit log restore.
/usr/openv/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.
/usr/openv/logs/user_ops
/usr/openv/logs/user_ops/dbext
/usr/openv/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:
/usr/openv/logs/bprd
On the media server or servers:
/usr/openv/logs/bpbrm
/usr/openv/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 /usr/openv/logs.
For information on how to use logs and reports, see the NetBackup Troubleshooting Guide.