Configuring a policy to back up the archive logs
This topic describes how to create a policy to back up the NetBackup DB2 archive log files directly to tape. Follow these instructions if you want to use the user exit program with the ARCFUNC SAVE command.
You do not need to perform this procedure if you use the VENDOR method to back up your archive log files.
To configure a policy to back up the archive logs
- Log on to the master server as administrator (Windows) or root (UNIX).
- Start the NetBackup Administration Console .
- If your site has more than one master server, choose the one where you want to add the policy.
- Create a new MS- Windows (Windows) or Standard (UNIX) policy type.
- Specify the attributes for the policy.
- On the Schedules tab, create a User Backup schedule.
This schedule must encompass all of the time periods during which DB2 can call the user exit program.
No backup selections list is necessary for this policy because it has a User Backup schedule. It is not an automatic schedule.
- On the Clients tab, add the clients you want to back up.
The clients must have the following installed:
DB2
NetBackup DB2
If the client is installed in a DB2 cluster, add the virtual host name to the client list.
Note:
If you installed NetBackup on more than one node in the DB2 cluster, you must perform additional configuration. You must approve each valid Auto-Discovered Mapping that NetBackup discovers in your environment.
See Reviewing the auto-discovered mappings in Host Management.
- Note the name of this policy.
- When you configure the db2.conf file, specify the name of the policy you created in this procedure.