Help Center/ Object Storage Service/ FAQs/ How Do I Use Cross-Region Replication?/ Will an Object Deletion in a Source Bucket Be Synchronized to the Destination Bucket?
Updated on 2025-04-03 GMT+08:00

Will an Object Deletion in a Source Bucket Be Synchronized to the Destination Bucket?

  • If your cross-region replication rules are configured on OBS Console, object deletions in the source bucket will not be synchronized to the destination bucket by default.
  • If your cross-region replication rules are configured using the API, the synchronization depends on the setting of the DeleteData parameter.
    • If the value of DeleteData is Enabled, the deletions will be synchronized.

      Objects deleted based on lifecycle rules in the source bucket will not be synchronously deleted from the destination bucket.

      For example, you created a cross-region replication rule on January 16 to replicate objects a.txt and aa.txt from source bucket A to destination bucket B. On January 20, a.txt was deleted from source bucket A based on the lifecycle rule. In this case, the a.txt file in the bucket B would not be deleted.

    • If the value of DeleteData is Disabled, the deletions will not be synchronized.

After the cross-region replication rule is enabled, objects that meet the following conditions are copied to the destination bucket:

  • Newly uploaded objects (excluding objects in the Deep Archive or Archive storage class)
  • Updated objects, for example, objects whose content or ACL information is updated
  • Historical objects in a bucket with Synchronize Existing Objects enabled (excluding objects in the Archive or Deep Archive storage class)