Creating Instance Filters for Alibaba Cloud

From the VM group content dialog box, you can create filters to exclude instances from backups.

Before You Begin

  • To select instances based on views or automatic discovery rules, see "Views and Rule Options" (below).

Procedure

  1. From the navigation pane, go to Protect > Virtualization.

    The Virtual machines page appears.

  2. On the Hypervisors tab, click the hypervisor.

    The hypervisor page appears. The VM groups area displays summary information for any existing VM groups.

  3. Click an existing VM group.

  4. Under Content, click Manage.

    The VM group content dialog box appears.

    The Filters tab shows content to be excluded from backups.

  5. On the Filters tab, to remove a filter, click action_button in the Actions column of the row for the filter and select Remove.

  6. To add filters by browsing, click Add virtual machines.

  7. In the Add virtual machines page, select a browse method for the Browse and select instances list, and then expand the tree below the list to select content for the VM group, or to clear previous selections.

    You can select a view from the list to control the browse display.

  8. Click OK after selecting VMs or other objects.

  9. To exclude virtual machines based on rules:

    1. Click Add filter rule.

    2. From the Select rule for list, choose the rule type.

    3. From the Which matches with list, choose Equals, Contains, Starts with, or Ends with.

    4. In the Name box, provide a value as required for the type of rule.

    5. Click OK.

  10. To edit a rule, click action_button in the Actions column of the row for the VM and select Edit rule.

  11. Click OK to save the changes to VM group content.

Views and Rule Options

When you define content or filters for a VM group, you can change the view and select specific entities, or define rules to automatically select instances that meet specific criteria.

Views

When you browse to select instances for VM group content or filters, you can select a browse method from the Browse and select VMs list, and then expand the tree below the list to select instances for the VM group, or to clear previous selections.

You can select one of the following options from the list to control the browse display:

  • By region: Select an instance within a region.

  • By zone: Display zones under each region and select an instance within a zone.

Rules

You can define rules to discover instances automatically.

When you add a rule, from the Select rule for list, you can choose one of the following rules and then, from the Which matches with list, select Equals, Contains, Starts with, or Ends with:

  • Instance name/pattern: In the Name box, type the display name of the instance or a pattern using wildcards (for example, Test* to identify instances for which the instance name begins with "Test").

  • Zone: In the Name box, type the name of the zone or a pattern using wildcards (for example, us-east* to identify zones for which the zone name begins with "us-east"). When you add a zone, all instances in the zone are included in backups.

Loading...