# Managing VM Group Content for Oracle Cloud Infrastructure

For an existing VM group, you can add instances or modify the content selections.

## Before You Begin

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

## Go to the VM Group

1. From the Command Center navigation pane, go to Protect > Virtual machines.

   The Overview page appears.

2. On the VM groups tab, click the VM group.

   The VM group page appears.

## Edit Content

1. On the Content tab, in the Content area, click the edit button .

   The Manage content dialog box appears.

2. To remove an instance, click in the Actions column of the row for the instance and select Remove.

3. To add VM group content, click Add, and then select Content.

   The Add content dialog box appears.

4. From the Browse and select VMs list, select a browse method and then expand the tree below the list to select instances for the VM group, or to clear previous selections.

   You can use the Instances view to select instances to back up.

   Note

   Oracle Cloud Infrastructure allows the creation of sub-compartments up to six levels deep. You can back up and restore instances that are under those sub-compartments (as well as under the root compartment) for OCI regions.

5. Click Save.

6. To discover instances automatically:

   1. Click Add, and then select Rule.

      The Add rule dialog box appears.

   2. For Match rule, select any or all.

   3. From the Instance name or pattern list, select Compartment, Instance, Instance name or pattern, Tag key, Tag namespace, or Tag value.

      Note

      - If you want to select Tag key, Tag namespace, or Tag value, you must first create these values in Oracle Cloud.

      - Free form tags can be added by explicitly specifying the Tag key or Tag value in the rule.

   4. From the middle list, select Equals, Contains, Does not contain, Does not equal, Ends with, or Starts with.

   5. Enter a value for the rule you are creating.

   6. Click Save.

7. To edit a rule, click in the Actions column of the row for the instance and select Edit rule.

8. Click Preview to see a list of the instances that will be backed up.

9. Click Save.

## Views and Rule Options

When you define content 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 the following option from the list to control the browse display:

- VMs: Select instances to be backed up.

Note

Oracle Cloud Infrastructure allows the creation of sub-compartments up to six levels deep. You can back up and restore instances that are under those sub-compartments (as well as under the root compartment) for OCI regions.

### Rules

You can define rules to discover instances automatically.

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

- Compartment: In the Name box, type the name of a compartment.

- Instance: In the Name box, select the instance.

- 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").

## View Instances

The Instances tab displays the OCI instances associated with this VM group.

×

Loading...