Automatic discovery rules can discover virtual machines and automatically select them for backup. Automatic discovery is useful in environments where virtual machines are added, removed, or relocated on a routine basis, or when you want to manage groups of similar virtual machines using different subclients.
You can also browse for and select virtual machines or other objects. When you select a specific virtual machine, only that virtual machine is backed up.
You can use wildcard characters when adding a pattern to define a rule.
Note
If a virtual machine is added to subclient content or to a filter by browsing and selecting the virtual machine display name, discovery is performed based on the GUID for the virtual machine. If that virtual machine is later restored in place from a backup, a new GUID is generated, and that virtual machine is no longer identified correctly. To identify that virtual machine, you must remove the old rule, then add a new rule or use a name pattern to select the virtual machine.
Procedure
For an existing subclient, perform the following steps. You can also modify subclient content when creating a new subclient.
-
From the CommCell Browser, expand Client Computers > virtualization_client > Virtual Server > instance > backup_set.
-
Right-click the subclient, and then click Properties.
-
In the Subclient Properties dialog box, click the Content tab.
-
Browse or define a rule to select an object.
-
To browse for an object:
-
Click Browse.
-
Select a view from the list at the top left of the Browse dialog box:
-
VMs: Select virtual machines.
-
Cloud Service (Classic): Select a cloud service or a virtual machine.
-
Resource Group (ARM): Select a resource group or a virtual machine.
-
Regions: Select a region or a virtual machine.
-
Storage Accounts (ARM): Select a storage account or a virtual machine.
-
Tags (ARM): Select a tag or virtual machine owner.
-
Click OK.
-
-
To define a rule:
-
Click Add.
-
In the Rule Group box, select the rule type from the drop-down list and enter the appropriate information in the box on the right:
-
-
-
VM Name/Pattern
Enter the display name of the virtual machine or a pattern using wildcards (for example, Test* to identify virtual machines for which the virtual machine name begins with "Test"). You can also click ... to browse for a virtual machine.
Note
If a VM is added to subclient content using a specific name (without wildcards), and the software cannot find the VM based on that name during a backup job, the backup job completes with the error: Virtual machine [VMName] was not found.
Cloud Service (Azure Classic)
Enter a name pattern or click ... to select a cloud service for Azure Classic.
Resource Group (ARM)
Enter a name pattern or click ... to select a resource group for Azure Resource Manager.
Powr State
Select the power on status of virtual machines to be included in the subclient content. You can select one of the following options:
-
Running - to identify virtual machines that are powered on.
-
Stopped - to identify virtual machines that are powered off.
Region
Click ... to select a region. You can select from the following:
-
Australia East
-
Australia Southeast
-
Brazil South
-
Canada Central
-
Canada East
-
Central India
-
Central East
-
East Asia
-
East US
-
East US 2
-
Japan East
-
Japan West
-
North Central US
-
North Europe
-
South Central US
-
South India
-
Southeast Asia
-
West Europe
-
West India
-
West US
Storage Account (ARM)
Click ... to select a storage account for Azure Resource Manager.
-
-
To define multiple rules in a rule group, click + and define another rule. The following options are available for a rule group with multiple rules:
-
If you define multiple rules, you can indicate whether virtual machines are selected when they match all of the rules, or when they match any of the rules. For rule groups that include Power State rules, you can only select virtual machines that match all of the rules.
-
To exclude virtual machines based on any of the criteria, you can use the Does Not Equal operator for one or more of the rules in a rule group. (For rule groups with a single rule, the only operator you can use is Equals.)
For simple rules defined in the Contents of subclient list (not in a rule group), virtual machines are selected if they match any of the rules defined for the subclient.
-
Click OK.
The rules you defined and the objects you selected appear in the Contents of subclient list on the Content tab.
-
Click Preview to view all virtual machines identified by the selections you have made. These virtual machines will be backed up when you perform a backup for the subclient. From the Preview display, you can select a virtual machine and click Add to Filters to exclude that virtual machine from backups.
-
Click OK.