Overview
After enabling cross-cloud replication, you can automatically and asynchronously copy incremental objects from the source bucket to another target bucket that supports the S3 protocol. When you perform management operations on objects in the source bucket (such as adding objects or deleting objects), COS will automatically copy these operations to the target bucket. You can choose to enable or disable cross-cloud replication based on your actual needs.
Prerequisites
Before enabling the cross-cloud replication feature, ensure that the source bucket and the target bucket have connected network status and you can obtain the permission information of the target bucket.
Enabling Cross-Cloud Replication
- Log in to the COS console.
- In the left sidebar, select Bucket List to enter.
- Click the name of the bucket for which you want to configure cross-cloud replication to go to the bucket's file list page.
- Select Fault Tolerance and Disaster Recovery Management > Bucket Replication. In the Cross-Cloud Replication configuration, click Add Rule to enter the cross-cloud replication rule configuration status.

- Fill in the corresponding configuration information according to the configuration interface.
The parameters are described as follows:- Source Region: The region to which your source bucket belongs.
- Application Scope: Specify the source bucket resources for the cross-cloud replication rule.
- Resource Path: After selecting designated resources, you can configure specific resource prefix information. If a prefix is specified, copy content with a specific prefix (for example, to copy files with the
logs/prefix, enterlogs/). - Access Domain Name: Fill in the domain information of the target bucket, and include the http:// information.
- Destination Bucket AK: Access permission information for the target bucket.
- Destination Bucket SK: Access permission information for the destination bucket.
- Destination Bucket: Information of the target bucket, formatted as bucket_name-appid, supporting any COS type compatible with the S3 protocol.
Note:
- After you have configured the rules, you can manage them. You can click the button to enable or disable the current rule and click the Edit button to modify the current rule.
- If you set the scope of cross-cloud replication rules to replicate all content in the storage bucket during the initial setup, you will not be able to add any new rules. You can modify the current rule by editing it or deleting it and then adding it again.
- If you set the application scope to the contents of a certain prefix when you first set up the cross-cloud replication rule, you can still modify the application scope to the entire content in the bucket by editing the current rule.
Disabling Cross-Cloud Replication
You can disable cross-cloud replication by disabling the status button or by deleting the rule.
- Disable status button: Temporarily disable the current rule by turning off the status button in a rule. This operation will pause the current cross-cloud replication feature. The replicated data will be retained in the target bucket, and the incremental data in the source bucket will no longer be copied to the destination bucket. If you need to use it again, click the Enable button.
- Delete rule: Delete the added rules under the Cross-Cloud Replication management item. After deleting the rules, the configured inter-cloud replication rules will become invalid. The replicated data will be retained in the Target bucket, and the incremental data in the source bucket will no longer be replicated inter-cloud. If you need to use it again, you need to add the rules again.
Note:
- Cross-cloud replication operations that have not yet been completed will be aborted when cross-cloud replication is disabled and will not be able to continue.
- When you enable cross-cloud replication for a bucket again, cross-cloud replication is performed only on objects that were added after the enabling.
- Newly configured and re-enabled cross-cloud replication rules may have an effective time of up to 1 minute. Uploaded objects during this 1 minute may not be synchronized to the destination bucket.
- Cross-cloud replication performs inventory recompilation operations at midnight every day and copies objects that were not synchronized or failed to synchronize on the day again.
