Wildcard exclusion list

SUMMARY

Wildcard exclusion list

ISSUE

Purpose                                                                                

This article discusses how the Unitrends product uses Wildcards in Windows exclusion list.

Description

Unitrends use glob wildcard matching.

Using Wildcards in Selection Lists

Wildcards can be used to create an inclusion or exclusion list for a defined backup schedule. The chart below provides a reference of wildcard combinations supported by the appliance. It also identifies the limitations associated with the use of these wildcards in file names, paths and other referenced items.

 

Wild card

Inclusion list

Exclusion list

*

Example of how to include all files within specified path that match zero or more

characters in the inclusion pattern

C:/PCBP/Lists.dir/*.spr
C:/PCBP/Lists.dir/profile*.spr

Include all directories within specified path that match zero or more characters within the inclusion pattern.

C:/ProgramFiles/MSsqlserver/mssq*



Limitations:

*.txt should not be used to back up all txt files on the system. The full path must be provided.

C:/*/*/abc.txt


Multiple wildcard matches like the one shown are not supported.

 

Wildcards are not supported for Linux, Unix, and
CIFS/NFS NAS clients.

An example of how to exclude all files with zero or more characters that

match exclusion pattern

*.txt

An example of how to exclude directories with zero or more characters and their contents within a

specified path that match the exclusion pattern.

C:/windows/sys*

Limitations:

*folder_abc should not be used to exclude all folders that match folder_abc on the system. The full path must be provided.

 

If an entire directory is excluded, the directory name will still appear in the backup; however, its contents will be empty.

 

Multiple wildcard matches like the one shown below are not supported.

C:/*/*/abc.txt

Wildcards are not supported for Linux, Unix, and
CIFS/NFS NAS clients.

Only 40 wildcard exclude items are supported on Windows.

?

An example of how to include all files within specified path that match a single character within the inclusion pattern.

C:/Windows/Web/Wallpaper/a?.jpg

 

Limitations:

When using the  ?  wildcard for inclusions at the end of the file name,

An example of how to exclude all files within specified path that matches a single character within exclusion pattern.

C:/PCBP/Lists.dir/profile_client?.spr

 

An example of how to exclude all directories and their contents within specified path that matches a single

 

 

files that end with . will not be included.

 

For example, the file a..jpg will not be backed up.

 

An example of how to include all directories and their contents within specified path that matches a single

character within the inclusion pattern.

C:/Programfiles/Case?/

character within exclusion pattern.

C:/Programfiles/Case?/


Limitations:

If an entire directory is excluded, the directory name itself will still appear in the backup; however its contents will

be empty.

*,?

An example of Inclusion lists that have multiple ? wildcards and only one * wildcard

C:/Log/?L*.logs


Limitation:

Directory and file level wildcard usage within an inclusion pattern are not supported. For example C:/Log*/*.log will not receive any data for backup.

An example of Exclusion lists that have multiple ? wildcards and only one * wildcard

C:/Log?/*.logs


Limitation:

If an entire directory is excluded, the directory name itself will still appear in the backup; however its contents will be empty.

Third-Party Resources
http://en.wikipedia.org/wiki/Glob_(programming)

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Contact us