Configuring Backups for Oracle Cloud Infrastructure (OCI) Virtual Machines


You can configure backups for OCI VMs. The configuration wizard guides you through the configuration process, which includes creating any new entities that are needed, such as a plan, a hypervisor, and a VM group.

Start the Configuration Wizard

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

    The Virtual machines page appears.

  2. In the upper-right area of the page, click Add hypervisor.

    The Configure Hypervisor page appears.

  3. Select Oracle Cloud Infrastructure.

  4. Click Next.

    The Configure Oracle Cloud Infrastructure Hypervisor configuration wizard appears.

  5. Review the information.

  6. Click Next.

    The Configure IAM Permission page of the configuration wizard appears.

Configure IAM Permission

Configure Oracle IAM permissions for API key-based authentication using Resource Manager template that is provided by Metallic.

  1. Click the Launch the CloudFormation Stack link.

    The Create Stack page of the OCI website appears.

  2. Select I have reviewed and accept the Oracle terms of use.

    The Resource Manager template creates an IAM user in the IAM group. Then, it creates and assigns an IAM policy to the group.

  3. Verify that the Use custom Terraform providers check box is not selected.

  4. In the Name box, enter a descriptive name for the stack.

  5. From the Create in compartment list, select a compartment.

  6. In the Tags section, add a tag to identify the backup gateway stack.

    For example, for Tag namespace, select None (add a free-form tag), for Tag key, enter Reference, and for Tag value, enter IAM stack.

  7. Click Next.

    The Configure Variables page appears.

  8. In the Email address for User (MetallicServiceAccount) box, enter an email address.

  9. Click Next.

    The Review page appears.

  10. Click Create.

  11. In the search bar at the top of the page, search for MetallicServiceAccount.

  12. Select Add API key > Download private key.

  13. Under the API key section, click the button with three dots.

  14. Copy the Credential Name, Tenancy OCID, User OCID, and Fingerprint values.

  15. Return to the Metallic configuration wizard.

  16. For Credentials, select existing credentials or create new credentials.

  17. Click Next.

    The Region page of the configuration wizard appears.


  1. Select the region that the instances reside in.

  2. Click Next.

    The Backup Gateway page of the configuration wizard appears.

Backup Gateway

To avoid egress charges, you must have a backup gateway in the same region as the cloud storage for your backups. Backup gateways are cloud instances that run backups and other operations.

If you create a new backup gateway for OCI, verify that it meets the system requirements for OCI backup gateways.

  1. Select an existing backup gateway or create a new backup gateway.

  2. Click Next.

    The Cloud Storage page of the configuration wizard appears.

Cloud Storage

To review the supported combinations of primary and secondary storage, see Metallic Storage Options.

Primary Copy

  1. For the primary copy of the backup data, select existing cloud storage or create new cloud storage.

  2. Click Next.

Secondary Copy

  1. Decide whether to store a secondary copy of the backup data for long-term retention.

  2. Click Next.

    The Select Plan page of the configuration wizard appears.


A plan specifies the storage to back up the data to and other settings such as recovery point objective (RPO) settings.

  1. Select an existing plan or create a new plan.

  2. Click Next.

    The Cloud Account page of the configuration wizard appears.

Cloud Account

The cloud account is used to access the instances for discovery, backups, and other operations.

  1. Select an existing cloud account or create a new cloud account.

  2. Click Next.

    The Add VM Group page of the configuration wizard appears.

Add a VM Group

A VM group is a set of VMs that you want to back up with the same settings.

You can add content to the VM group by using rules that auto-discover VMs and/or by selecting specific VMs.

  1. In Name, enter a descriptive name for the VM group.

  2. To create rules that auto-discover and select instances to back up, do the following:

    1. Click Add, and then select Rules.

      The Add rule dialog box appears.

    2. From the list, select the type of rule to create:

      • Compartment: Select instances based on the compartment they are stored in.

      • Instance: Select instances based on their names.

      • Instance name or pattern: Select instances based on their names. For example, to select instances that have a name that includes "east", enter Instance name or pattern | Contains | east.

    3. Click Save.

  3. To select instances in other ways, do the following:

    1. Click Add, and then select Content.

      The Add content dialog box appears.

    2. Select the VMs to add to the VM group.

    3. Click Save.

  4. To see the instances that are selected for the VM group, click the Preview button.

  5. Click Next.

    The Summary page of the configuration wizard appears.


  1. Review the summary.

  2. Click Finish.