Mirror

最近更新时间:2020-06-03 08:00:29

Bucket Maintenance


Mirror

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

When the bucket is configured with image back to the source, the user accesses a file (object) to KS3, and the file (object) is not saved in KS3, KS3 will return a 302 redirection request to the source station from the location. At the same time, KS3 will asynchronously request the file (object) from the back to the source address, and save it to KS3.

Attention:

  • Use the mirror back to the source for data migration, and the maximum support for a single file is 50GB.
  • When a user accesses a file that does not exist on KS3, it will trigger KS3 to download the file asynchronously to the source station. KS3 will download the file and save it in KS3 as soon as possible, but KS3 does not guarantee the time and success rate.
  • Multiple image sources can be configured at the same time. The image sources are separated by English ";". When returning to the source, pull them according to the configuration sequence of the source station. After the pull is successful, no attempt is made to pull them from the remaining source stations.
Operation Steps:
  1. The mirroring function is located under the space settings menu:

Mirror

After setting up the mirror source, the source resource will be automatically and smoothly migrated to KS3. For example, access format: < code > HTTPS: / / {bucket name}.kss.ksyun.com / {resource path} < / code >. (Note: the space of Kingsoft Cloud storage cannot be used as the image source). The source data is synchronized to the set space by default.

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

  1. Access Control:

Mirror

You can set the files uploaded to cloud storage as public or private.

  1. File Prefetching:

    Attention:When the image is configured back to the source, the file pre push configuration will appear

Mirror

According to the list of resources in the template, you can pull files from the mirror source station to KS3 and store them according to the set rules.

Attention:

  • Only 100000 files can be pushed in advance for each batch. Please submit more than one file 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.

    Mirror

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

免费注册