You can use cross-region replication (CRR) to migrate data from a bucket located in Region A to a bucket located in Region B. The two buckets must be owned by the same Alibaba Cloud account. To migrate data in a bucket located in Region A to another bucket located in the same region, you can use the same-region replication (SRR) feature.
Usage notes
- Data migration starts three to five minutes after the CRR or SRR rule is configured.
- CRR and SRR replicate data asynchronously (near real-time). Based on the amount of data, it may take several minutes to several hours to migrate the data.
- When historical data is migrated, objects in the source bucket may overwrite objects in the destination bucket if these objects have the same names. To avoid data loss, we recommend that you enable versioning for the source and destination buckets. For more information about how to enable versioning for a bucket, see Configure versioning.
- If you do not want to migrate incremental data in the source bucket after the data in the source bucket is migrated, you can disable the CRR or SRR rule. After the CRR or SRR rule is disabled, the migrated data is stored in the destination bucket, and the incremental data in the source bucket is not replicated to the destination bucket.
For more information about CRR, see Cross-region replication. For more information about SRR, see Same-region replication.
Data migration between buckets in different regions
Assume that you want to migrate data from the source Bucket A in the China (Beijing) region to the destination Bucket B in the China (Hangzhou) region. Perform the following steps:
Data migration between buckets in the same region
Assume that you want to migrate data from the source Bucket C in the China (Beijing) region to the destination Bucket D in the same region. Perform the following steps:
References
For more information about how to migrate data in buckets owned by different Alibaba Cloud accounts, see Use Data Online Migration to migrate data between OSS buckets.