Cloning a Volume Group
Clone a volume group in the Block Volume service.
- On the Volume Groups list page, select the volume group you want to clone. If you need help finding the list page or the volume group, see Listing Volume Groups.
 - 
On the details page, select Clones.
 - 
Select Create volume group clone.
 - 
Select the compartment to create the volume group clone in.
 - (Optional) Select the cluster placement group in which to clone the volume 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. - 
Enter a name for the new volume group clone.
 - 
Select Create.
 
Use the oci bv volume-group create command and required parameters to clone a volume group from an existing volume group:
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": "volumeGroupId", "volumeGroupId": "ocid1.volumegroup.oc1.phx.<unique_ID>"}'For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the
CreateVolumeGroupoperation and specify theavailabilityDomainandcompartmentIdparameters in theCreateVolumeGroupDetailsresource to clone a volume group from an existing volume group.