Enabling the debug logs manually (Windows) (NetBackup for DB2)
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 bpdb2proxy is used for backup or restore.
install_path\NetBackup\logs\bpubsdb2
bphdb
For any backup that is initiated from an automated schedule on the primary server.
install_path\NetBackup\logs\bphdb
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 access 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 access 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 primary 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.