Restoring a Volume Group from a Volume Group Backup

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

    1. Open the navigation menu  and select Storage. Under Block Storage, select Volume Group Backups.
    2. In the Volume Group Backups list, select the volume group backup you want to restore.
    3. Select Create Volume Group.
    4. 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

        The Cluster Placement Group control only appears in the Console if 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.
    5. Select Create Volume Group.
  • 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.