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.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 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
|