Replicating a Vault Across Regions
Scenarios
Cloud server backup vaults allow you to replicate all backups in vaults to replication vaults of the same account in another region. Replicas of server backups in the destination region can be used to create images and provision servers. to quickly deploy services across regions.
There are two methods available for replicating a vault.
- Manual replication: Select a backup vault and manually replicate it.
- Policy-based replication: Configure a replication policy to periodically replicate backups that have not been replicated or failed to be replicated to the destination region.
Constraints
- Disk backup vaults cannot be replicated to other regions.
- Backups can be replicated to vaults in different regions. Backup replicas take up the replication vault space.
- A server backup vault can be replicated only when it contains at least one backup that meets all the following conditions:
- It is an ECS backup.
- It contains system disk data.
- It is in the Available state.
- Only backup vaults of the same type can be replicated. Replicated vaults cannot be replicated again but their replicas can be used to create images.
- A backup vault can be replicated to different destination regions. For manual and policy-based vault replication, a vault can only be replicated to a destination region once. It cannot be replicated to that region again, even if its backups have been deleted.
- Only replication-supported regions can be selected as destination regions.
(Optional) Create a Replication Vault in the Destination Region
If there is at least one vault with the cross-region replication protection type in the destination region, skip this step.
- Go to the Buy Server Backup Vault page.
- Specify mandatory parameters for the server backup vault. For parameters not included in the following table, retain the default values.
Complete Basic Settings and select a Protection Type.
Parameter
Example Value
Description
Region
-
Target region where the backups will be replicated. Resources in different regions cannot communicate with each other over internal networks.
Only replication-supported regions can be selected as destination regions.
After a vault is created, the region cannot be changed. Exercise caution when selecting a region.
Protection Type
Replication (cross-region)
A replication vault will be created to store server backup replicas.
For example, if you want to back up a server, select Backup for the vault protection type. If you want to replicate backups of a server from one region to another, select Replication (cross-region) for the vault in this other region.
Set the Backup Capacity.
Parameter
Example Value
Description
Vault Capacity
100G
Specify the vault capacity. The capacity ranges from 10 GB to 10485760 GB.
You need to plan the vault capacity in advance. The capacity of the replication vault cannot be less than the size of the backups to be replicated.
As the vault's used space grows, you can expand the vault capacity if it becomes insufficient.
Configure Enterprise Project and Advanced Settings.
Parameter
Example Value
Description
Enterprise Project
default
Add the vault to an existing enterprise project.
This parameter is only available for enterprise users who have enabled enterprise project management.
Vault Name
vault-317a
Name of the vault to be created.
A name can contain 1 to 64 characters. Only letters, digits, underscores (_), and hyphens (-) are allowed. You can also use the default name vault_xxxx.
- Click Next.
- Click Submit. Confirm the order details. The vault creation is complete.
- Go back to the Cloud Server Backups page. You can view the created vault in the vault list. The vault is in the Available state.
Procedure
- Log in to the CBR console.
- Log in to the management console.
- In the upper left corner, click
and select a region. - Click
and choose Storage > Cloud Backup and Recovery. Select the corresponding backup type from the navigation pane.
- On the Vaults tab, find the target backup vault.
- Choose More > Create Replica in the Operation column of the vault.
- In the displayed dialog box, configure the parameters as described in Table 1.
Table 1 Parameter description Parameter
Description
Destination Region
Region to which the vault is replicated
Only the regions that support replication will be displayed.
- If the selected region contains only one project, you can directly select the region name.
- If the selected region has multiple projects, the default project of the region is preselected. You can select another project if needed.
Destination Vault
A replication vault in the destination region.
- Click OK.
- After the replication is complete, you can switch to the destination region to view generated replicas. For details, see Viewing a Vault. You can then use replicas to create images.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot