Restoring a Volume Group from a Volume Group Backup
Learn how to restore a volume group from a volume group backup.
Use the
oci bv volume-group createcommand and specify the--compartment-id,--availability-domain,--source-detailsparameters 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
CreateVolumeGroupoperation and specify thecompartmentId,availabilityDomainandsourceDetailsattributes of theCreateVolumeGroupDetailsresource to restore a volume group from a volume group backup.