Wildcard Characters for Virtual Server Agent with Citrix Xen

You can use wildcards to define patterns for content and filters for a subclient or backup set. You can use wildcards when defining a rule for a VM Name Pattern, Guest OS, Guest DNS Hostname, or Host.

The following table describes how to use wildcards when defining subclient content or filters.

Note

Letters used in wildcard expressions are matched regardless of case; for example, a matches both a and A.

Wildcard characters

Description

Examples

*

Matches any number of characters.

Used to match all objects where the object name contains a specific pattern.

For a VM name pattern, *test* matches any virtual machine whose name contains the string test or TEST (at the beginning, end, or middle of the name).

?

Matches any single character.

Used to match any object for which a single character in the object name is a variable.

DC? matches any object that starts with DC or dc followed by a single additional character (such as dC1, DC2, Dca. or dcX).

[ ]

Matches any single character in a set or range of characters enclosed in square brackets.

Not supported for host names.

[a-m]* matches any object whose name begins with the letters a through m (or A through M).

[ ! ]

Matches any single character that is not in the listed set or range of characters.

Used to match objects whose name does not include the specified set or range of characters.

Not supported for host names.

For example, [!AEIOU]* matches all object names that start with a letter other than a, A, e, E, i, I, o, O, u, or U.

[!A-C]* matches all names that do not start with the letters A through C (or a through c).

Loading...