Restoring a Volume Group Replica to Its Source Region
To restore a boot volume replica to the source region, you must activate the replica in the destination region with volume replication enabled, and then select the original source region as the target region for replication.
- On the Volume Group Replicas list page, find the volume group replica you want to work with. If you need help finding the list page or the volume group replica, see Listing Volume Group Replicas.
- From the , select Activate and then Confirm.
- In the Activate Volume Group Replica panel, enter the following information:
- Compartment: Compartment to create the clone of the source volume group in.
- Volume Group Name: Replica name.
- Select Activate.
The new volume group appears in the list, in the provisioning state.
Once the volume group status has changed from Provisioning to Available, turn on replication for the volume group and specify the original source region as the destination region. For more information, see Enabling Cross-Region Replication When Updating an Existing Volume Group. Once the initial synchronization finishes, the failback process is complete, and you can activate the volume group in the original source region.
Use the
oci bv volume-group create
command and specify the--availability_domain
,--compartment-id
,--display-name
,--source-details
, and--volume-group-replicas
parameters to restore a volume group replica to its source region:oci bv volume-group create --availability-domain <volume_group_replica_AD> --compartment-id <compartment_ID> --display-name <new_volume_group_name> --source-details '{"type": "volumeGroupReplicaId", "volumeGroupReplicaId": "<volume_group_replica_ID>"}' --volume-group-replicas '[{"displayName":"<volume_group_replica_name>","availabilityDomain":"<source_availability_domain>"}]'
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the
CreateVolumeGroup
operation and specify thecompartmentId
,bootVolumeReplicas
andsourceDetails
attributes for theCreateVolumeGroupDetails
resource to restore a volume group replica to its source region.