tencent cloud

Cloud Object Storage

Migrating Local Data to COS

Download
聚焦模式
字号
最后更新时间: 2025-11-12 11:53:53
本文档由 AI 翻译

Practice Scenario

If you have a local IDC, COS offers the following migration methods to help you quickly migrate massive amounts of local data to COS.
Migration Method
Description
COS Migration(online migration)
COS Migration is an all-in-one tool integrating COS data migration features. You can migrate data to COS quickly after completing simple configurations.

Migration Practice

COS Migration

The steps are as follows:
1. Install the Java environment.
2. Install the COS Migration tools.
3. Modify the configuration file.
4. Launch the tool.
For more information, please see COS Migration Tool.

Tips

Below describes how to configure COS Migration to maximize the migration speed:
1. Adjust the threshold and concurrence of large/small files based on your network environment to implement optimal migration where large files are split into multiple parts and small files are transferred concurrently. Adjust the tool execution time and set a bandwidth limit to ensure that bandwidth usage by data migration will not affect your business operations. Such adjustments can be made by modifying the following parameters in the [common] section of the config.ini configuration file:
Parameter Name
Parameter Description
smallFileThreshold
Threshold for small files. If the size of a file is higher than or equal to this threshold, multipart upload will be used; otherwise, simple upload will be used. The default value is 5 MB.
bigFileExecutorNum
Concurrence of large files, which is 8 by default. If COS is connected to over the public network with low bandwidth, reduce this value.
smallFileExecutorNum
Concurrence of small files, which is 64 by default.If COS is connected to over the public network with low bandwidth, reduce this value.
executeTimeWindow
This parameter defines the time range when the migration tool will execute a task every day, which will enter sleep mode at other times. In sleep mode, the migration will be paused and the migration progress will be retained until the next time window when the migration will be resumed automatically.
2. Distributed parallel transfer can further speed up the migration. You can install COS Migration on multiple servers and perform migration tasks separately for different data sources.

帮助和支持

本页内容是否解决了您的问题?

填写满意度调查问卷,共创更好文档体验。

文档反馈