Help Center/ Migration Center/ FAQs/ Storage Migration/ When I Migrate HTTP/HTTPS Data to Huawei Cloud OBS, How Are the Objects with the Same Name but Different URLs Processed?
Updated on 2024-12-06 GMT+08:00

When I Migrate HTTP/HTTPS Data to Huawei Cloud OBS, How Are the Objects with the Same Name but Different URLs Processed?

In Huawei Cloud OBS, objects are identified using names but not URLs. When data is migrated from the HTTP/HTTPS source to Huawei Cloud OBS, how the objects with the same name are processed depends on the overwriting policy configured for the migration workflow. No matter which policy is used, no two objects in a given directory of an OBS bucket can have the same name.

  • Never: The first migrated object will be retained in the target OBS bucket, but any source objects with the same name will be skipped during the migration, regardless of whether they have the same URL as the first migrated one or not.
  • Always: The last migrated object will overwrite those previously migrated.
  • If older or different size: The last migrated object will overwrite those migrated previously if:
    • It is newer than those migrated previously.
    • It was last modified at the same time as those migrated previously, but the size is different.

    If the last modification time and the size are the same, the object will not be migrated. It will be skipped.