![]() |
![]() |
System Administrator
The exclude options exclude objects from backup or archive services. For example, you might want to exclude all temporary files, any local caches of network files, all files that contain compiled object code that you can easily reproduce using other methods, or your operating system files.
Notes:
Exclude any system files that could corrupt the operating system when recovered. You should also exclude the client directory containing the client files.
Use wildcard characters to exclude a broad range of files. See "Including and Excluding Groups of Files" for a list of wildcard characters that you can use. Then, if necessary, use the include option to make exceptions.
To exclude an entire directory called any:test, enter the following:
exclude.dir any:test
To exclude subdirectories that begin with test under the any directory, enter the following:
exclude.dir any:test*
Attention: See "Excluding System Files" for a list of files that you should always exclude.
If you want to exclude specific files or groups of files from compression processing during a backup or archive operation, consider the following:
If you set the compression option to yes and no exclude.compression statements exist, Tivoli Storage Manager considers all files for compression processing.
exclude home:jones:proj1:*.* exclude.compression home:jones:proj1:file.txt include home:jones:proj1:file.txt
Tivoli Storage Manager examines the statements (reading from bottom to top) and determines that home:jones:proj1:file.txt is a candidate for back up. Tivoli Storage Manager then examines the exclude.compression home:jones:proj1:file.txt statement and determines that it is not a candidate for compression processing.
Preferences File
Place these options in the TSM System Preferences file.
Syntax
>>-options pattern---------------------------------------------><
However, you can still back up test:dan:data1, its files, and all its subdirectories and their files using a selective backup.
However, the next time you perform an incremental backup, these backup versions are expired. If you exclude a directory that was previously included, Tivoli Storage Manager marks existing backup versions of the files and directories beneath it inactive during the next incremental backup. Use this option to exclude a portion of your data in which no underlying files need to be backed up. The Tivoli Storage Manager Client API does not support this option.
Parameters
If the pattern begins with a single or double quote or contains any embedded blanks or equal signs, you must surround the value in either single (') or double (") quotation marks. The opening and closing quotation marks must be the same type of quotation marks.
Examples
exclude ...:DeskTop exclude HFS+:svt1:testdir:...:* exclude.archive "HFS+:svt1:testdir:...:*" exclude.fs HFS+:svt1:testdir:...:* exclude.backup HFS+:svt1:testdir:...:* exclude.dir HFS+:svt1:testdir:...:* exclude.file HFS+:svt1:testdir:...:* exclude.compression home:jones:proj1:file.txt