Back-to-origin Service

最近更新时间:2020-06-02 15:24:54

Mirror-back-source

Mirror-back-source is mainly used to seamlessly migrate data to KS3, that is, when your service has been running on the origin established by yourself or on other cloud products, you need to migrate data to KS3, but you cannot stop the service. At this time, you can use the Mirror-back-source.

When the bucket is configured with Mirror-back-source, the user accesses a object to KS3, and the object is not saved in KS3, KS3 will return a 302 redirection request with location pointing to the origin to the user;meanwhile, KS3 will asynchronously request the object from the origin and save it to KS3.

Note:

  • Use the Mirror-back-source Service for data migration, and the maximum support for a single object is 50GB.
  • When a user accesses a object that does not exist on KS3, KS3 will download the object asynchronously from the origin, and KS3 will download the object and save it in KS3 as soon as possible, but KS3 does not guarantee the time and success rate.
  • KS3 supports the configuration of multiple origins at the same time. The origins are separated by the separator ";".KS3 will pull data according to the configuration sequence of the origin. After the pull is successful, it will not attempt to pull data from the remaining origin.
Operation steps:
  1. The Mirror-back-source(Mirror) is located under the bucket settings menu:

Back-to-origin Service After setting up the origin, the origin resources will be automatically and smoothly migrated to KS3.The access format is as follows: https://{bucket name}.kss.ksyun.com/{path}。 (Note: the storage space of KS3 cannot be used as a origion).The data from origion will be synchronized to the setting space by default.

After the origin is configured, because the content of the origin and ks3 storage space are basically the same, the origin may be blocked by the search engine. You can configure the search engine configuration file robots.txt to avoid this situation.

  1. Access control:

Back-to-origin Service

You can set the objects uploaded to KS3 as public or private.

  1. File-pre-push:

    Note: when the origin source is configured, the File-pre-push configuration will appear

Back-to-origin Service

According to the list of resources in the template, you can pull data from the origin to KS3 and store it according to the set rules.

Note:

  • Only 100000 files can be pushed in advance for each batch. Please submit the extra files in several times.
  • The result of the pre push is saved in the file of "file pre push result ***" in this space. Because it takes some time to pre push resources, please check the results after a while.
  • Please set the pre pushed file according to the template format, as shown below. Back-to-origin Service

金山云,开启您的云计算之旅

免费注册