About creating an include list on a UNIX client
To add a file that is eliminated with the exclude list, create a /usr/openv/netbackup/include_list file. The same syntax rules apply as for the exclude list.
Note:
Exclude and include lists do not apply to user backups and archives.
To illustrate the use of an include list, we use the example from the previous discussion. The exclude list in that example causes NetBackup to omit all files or directories named test from all directories beneath /home/*/test.
In this case, add a file named /home/jdoe/test back into the backup by creating an include_list file on the client. Add the following to the include_list file:
# this is a comment line /home/jdoe/test
To create an include list for a specific policy or policy and schedule combination, use a .policyname or .policyname.schedulename suffix. The following are two examples of include list names for a policy that is named wkstations that contains a schedule that is named fulls.
/usr/openv/netbackup/include_list.workstations /usr/openv/netbackup/include_list.workstations.fulls
The first file affects all scheduled backups in the policy that is named wkstations. The second file affects backups only when the schedule is named fulls.
For a given backup, NetBackup uses only one include list: the list with the most specific name. Given the following two files:
include_list.workstations include_list.workstations.fulls
NetBackup uses only include_list.workstations.fulls as the include list.