You are here: File-level Backups > Working with the Computer backup subsystem > About Computer selection lists > Using wildcards in Computer selection lists

Using wildcards in Computer selection lists

Wildcards can be used in selection patterns to include or exclude files from certain backup types. See To specify includes for the selective backup type and To specify excludes for details. Wildcards are not supported for Linux, Unix, and CIFS/NFS NAS clients.

The following table provides a reference of supported wildcard combinations and identifies the limitations associated with using wildcards in file names, paths, and other referenced items.

Wild card

Inclusion list (for the selective backup type only)

Exclusion list (for any file-level backup type)

*

An 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

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.

*

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

Wildcards are not supported on Linux/Unix systems.

Wildcards are not supported for CIFS/NFS NAS clients.

Wildcards are not supported for full, differential and incremental backup types for most client types.

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 on Linux/Unix systems.

Wildcards are not supported for CIFS/NFS NAS clients.

?

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, 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?/

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

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

An example of how to exclude all directories and their contents within specified path that matches a single 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.