Loading...

Wildcards for Virtual Server Agents

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.

If a subclient's content consists of wildcard characters and no eligible virtual machines are found for backup, the backup operation completes successfully even though no VMs are backed up.

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

Wildcards

Description

Examples

*

Any number of characters

This wildcard is 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' (at the beginning, end, or middle of the name).

?

Any one character

This wildcard is used to match any object for which a single character in the object name is variable.

DC? matches any object that starts with DC followed by a single additional character (such as DC1, DC2, DCa. or DCX).

[ ]

Set or range of characters.

Not supported for host names.

[a-m]* matches any object whose name begins with the letters 'a' through 'm'.

[ ! ]

The negation of a set or range of characters

This wildcard matches objects for which the name does not include the specified set or range of characters.

Not supported for host names.

For example, [!AEIOU]* would match all object names that start with a letter other than A, E, I, O, or U.

[!A-C]* would match all names that do not start with the letters 'A' through 'C'.

Last modified: 8/20/2018 3:46:46 PM