Restoring a Volume Group from a Volume Group Backup

Learn how to restore a volume group from a volume group backup.

    1. On the Volume Group Backups list page, select the volume group backup that you want. If you need help finding the list page or the volume group backups, see Listing Volume Group Backups.
    2. From the Actions menu (three dots) for the volume group backup, select Restore volume group.
    3. Fill in the required volume information:
      • Name: A user-friendly name or description. Avoid entering confidential information.
      • Compartment: The compartment for the volume group.
      • Availability Domain: The availability domain for the volume group.
      • Cluster Placement Group: (Optional) Select the cluster placement group in which to restore the volume group to.
        Note

        This option is visible when cluster placement groups are enabled for the tenancy, and you've created and activated a cluster placement group with the capability added for volume resources. See Cluster Placement Groups for Block Volume.
      • Optionally:
        • Add tags.
        • Enable cross-region replication.
        • Select a backup policy.
    4. Select Restore.
  • Use the oci bv volume-group create command and specify the --compartment-id, --availability-domain, --source-details parameters to restore a volume group a volume group backup:

    oci bv volume-group create --compartment-id <compartment_ID> --availability-domain <external_AD> --source-details <source_details_JSON>

    For example:

    oci bv volume-group create --compartment-id ocid1.compartment.oc1..<unique_ID> --availability-domain ABbv:PHX-AD-1 --source-details '{"type": "volumeGroupBackupId", "volumeGroupBackupId": "ocid1.volumegroup.oc1.sea.<unique_ID>"}'

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the CreateVolumeGroup operation and specify the compartmentId, availabilityDomain and sourceDetails attributes of the CreateVolumeGroupDetails resource to restore a volume group from a volume group backup.