![]() |
![]() |
This is an optional task but an important one. If you do not create an include-exclude list, Tivoli Storage Manager considers all files for backup services and uses the default management class for backup and archive services. For information on management classes and policy domains, see Chapter 8, Understanding Storage Management Policies.
You can create an include-exclude list to exclude a specific file or groups of files from backup services, and to assign specific management classes to files. Tivoli Storage Manager backs up any file that is not explicitly excluded. You should exclude Tivoli Storage Manager client directories from backup services. You can use the query inclexcl command to generate a list of the files that are currently being excluded from backup.
Specify your include-exclude list in your client options file (dsm.opt) . This list can also contain the same statements for including or excluding files which you use with the inclexcl option. The include-exclude statements are not case sensitive.
For Windows NT, 2000, XP, or .NET clients: The include-exclude file can be in Unicode or non-Unicode format. If you specify a non-Unicode include-exclude file, the file must be in the same code page that the client is running.
When the client processes include-exclude statements, the include-exclude statements within the include-exclude file are placed at the position occupied by the inclexcl option in dsm.opt, in the same order, and processed accordingly.
See Inclexcl for detailed information about specifying an include-exclude file using the inclexcl option.
You can use one of the following methods to create an include-exclude list or specify an include-exclude file:
You can also create an include-exclude list by performing the following steps:
include c:\test\includefile.txt exclude c:\test\...\*
However, in the following include-exclude list the includefile.txt file is backed up:
exclude c:\test\...\* include c:\test\includefile.txt