Add a VM group to identify a specific set of instances to back up or restore.
Before You Begin
-
Define a server plan that specifies the storage, retention, and backup schedule to be used for the VM group.
-
To select instances based on views or automatic discovery rules, see "Views and Rule Options" (below).
Procedure
-
From the navigation pane, go to Protect > Virtualization.
The Virtual machines page appears.
-
On the Hypervisors tab, click the hypervisor.
The hypervisor page appears.
-
Click Add VM group.
The Add VM group dialog box appears.
-
Provide the following information:
-
Hypervisor: Select the hypervisor.
-
Name: Type a descriptive name for the VM group.
-
Browse and select instances: Expand the tree below this field to select the content for the VM group. Click Select all to quickly select all objects or Clear all to remove all current selections.
You can use the Instances view to select instances to back up.
You can only back up and restore instances in the root compartment and first-level compartments for Oracle Cloud Infrastructure regions. You cannot back up instances in subcompartments or restore instances to subcompartments. As a workaround, either move the instances to the root compartment or a first-level compartment, or install an agent such as a file system agent on the guest instances.
-
You can also define rules to discover instances automatically:
-
Click Add rule.
-
From the Select rule for list, choose a rule type.
-
From the Which matches with list, select Equals, Contains, Starts with, or Ends with.
-
In the Name box, provide a value as required for the type of rule.
-
Click OK.
-
-
Under Backup configuration, choose one of the following options:
-
Enable the Use backup plan option to associate a plan with the hypervisor.
From the Plan list, select a plan that specifies the storage, retention, and backup schedule to be used for the VM group.
-
Disable the Use backup plan option to specify a storage policy and schedule policy that were defined using CommCell Console.
From the Storage policy list, you can select a storage policy that was previously defined in CommCell Console or a plan that was defined in Command Center.
Optional: You can select a schedule policy that was previously defined using CommCell Console.
-
-
-
Click Save to save the VM group.
VM groups are created with default settings for backup options. To change default settings, see Editing VM Group Settings for Oracle Cloud Infrastructure.
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
You can only back up and restore instances in the root compartment and first-level compartments for Oracle Cloud Infrastructure regions. You cannot back up instances in subcompartments or restore instances to subcompartments. As a workaround, either move the instances to the root compartment or a first-level compartment, or install an agent such as a file system agent on the guest instances.
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 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").