Configuring a policy to archive the archive logs
This topic describes how to create a policy to archive the NetBackup DB2 archive log entries in the ARCDIR directory. Follow these instructions if you want to use the user exit program with the ARCFUNC COPY command.
When NetBackup performs an archive, it deletes the online files after they are backed up successfully.
For more information on user archive schedules, see the NetBackup Administrator's Guide, Volume I.
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
- Start the NetBackup web UI.
- Create a new MS-Windows (Windows) or Standard (UNIX) policy type.
- Specify the attributes for the policy.
- On the Schedules tab, create a User archive 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 archive schedule. It is not an automatic schedule.
- Specify the clients to be backed up.
The clients must have the following installed:
DB2
NetBackup for 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.