Exclude file spaces and directories
Use exclude.dir statements to exclude all files and subdirectories in the specified directory from processing.
The backup-archive client evaluates all exclude.dir statements first (regardless of their position within the include-exclude list), and removes the excluded directories and files from the list of objects available for processing. The exclude.dir statements override all include statements that match the pattern.
Table 1 lists the options you can use to exclude file spaces and directories from processing.
Option | Description |
---|---|
exclude.fs Exclude options | Excludes file spaces matching the pattern. The client does not consider the specified file space for processing and the usual deleted-file expiration process cannot occur. If you exclude a file space that was previously included, existing backup versions remain on the server subject to retention rules specified in the associated management class definition. |
exclude.dir Exclude options | Excludes a directory, its files,
and all its subdirectories and their files from backup processing.
For example, the statement exclude.dir /test/dan/data1 excludes
the /test/dan/data1 directory, its files, and all
its subdirectories and their files. Using the exclude.dir option
is preferable over the standard exclude option to
exclude large directories containing many files that you do not want
to back up. You cannot use include options to override
an exclude.dir statement. Only use exclude.dir when
excluding an entire directory branch.
|
exclude.dir Exclude options | Excludes a directory, its files,
and all its subdirectories and their files from backup processing.
For example, the statement exclude.dir c:\test\dan\data1 excludes
the c:\test\dan\data1 directory, its files, and all
its subdirectories and their files. Using the exclude.dir option
is preferable over the standard exclude option to
exclude large directories containing many files that you do not want
to back up. You cannot use include options to override
an exclude.dir statement. Only use exclude.dir when
excluding an entire directory branch.If you define an exclude statement
without using a drive letter, such as
|