Skip to main content

Migrate Data to Cloud Storage

This document will guide you on how to migrate data from local storage or other cloud platforms to CloudBase Cloud Storage.

Migration Solution Overview

Choose the appropriate migration solution based on your data source and migration requirements:

Data SourceRecommended ToolUse CaseData Volume
Local DataCOSBrowserVisual operation, small to medium data volume< 10GB
Local Data / Tencent Cloud COSCOSCLICommand-line operation, batch processingAny
Third-party Cloud StorageCloud Migration CMGCross-cloud platform migrationAny

1. Migrate Local Data to Cloud Storage

Tool Introduction

COSBrowser is a visual interface tool that supports users to upload, download, generate access links, and more through simple interface operations.

图片 838386651144c8862517349348259280

Use Cases

  • ✅ Small to medium data volume migration (< 10GB)
  • ✅ Visual operation interface required
  • ✅ Batch upload and download files
  • ✅ Manage cloud storage files

Operation Steps

1. Download and Install COSBrowser

Visit the COSBrowser download page to download and install the client.

2. Login with Secret Key

Important Note

You must use the Secret Key Login method and specify the bucket name and region. Logging in directly with a Tencent Cloud account cannot manage CloudBase cloud storage buckets.

Login steps:

  1. Open the COSBrowser tool
  2. Select "Secret Key Login"
  3. Enter the following information:
    • SecretId / SecretKey: Obtain from Access Key Management
    • Bucket Name: CloudBase cloud storage bucket name (format: cloudbase-env-xxx)
    • Region: Select the region where your environment is located (e.g., ap-shanghai)

3. Upload Local Files

After successful login:

  1. Select the files or folders to upload in the local file system on the left
  2. Drag and drop to the cloud storage area on the right, or right-click and select "Upload"
  3. Wait for the upload to complete

For detailed usage, please refer to: COSBrowser Usage Documentation


Solution 2: COSCLI

Tool Introduction

COSCLI is a client-side command-line tool built with Golang that requires no dependency environment installation and is ready to use out of the box. It allows you to perform batch upload, download, delete, and other operations on objects in cloud storage through simple command-line instructions.

Technical Support Notice

The COSCLI tool is maintained by the Tencent Cloud COS team, and the CloudBase development team does not provide technical support for this tool. Using this tool requires a certain level of command-line operation and technical foundation. If you encounter tool-related issues, please refer to the COSCLI Official Documentation or contact the COS team.

Use Cases

  • ✅ Large-scale batch file migration
  • ✅ Automated script deployment
  • ✅ Familiar with command-line operations
  • ✅ Support for cross-bucket operations

For detailed usage, please refer to: COSCLI Tool Documentation

2. Migrate from Third-party Cloud Storage to Cloud Storage

Solution: Cloud Migration CMG

Cloud Migration (CMG) is a migration tool integration and monitoring platform provided by Tencent Cloud. If your data is stored on third-party cloud platforms such as Alibaba Cloud OSS or AWS S3, you can use the Cloud Migration CMG service to quickly migrate it to CloudBase Cloud Storage.

图片 838386651144c8862517349348259280

Supported Cloud Platforms

Cloud Migration CMG supports migrating data from the following cloud platforms:

Cloud PlatformMigration Tutorial
Alibaba Cloud OSSAlibaba Cloud OSS Migration Tutorial
AWS S3AWS S3 Migration Tutorial
Qiniu CloudQiniu Cloud Migration Tutorial
UpyunUpyun Migration Tutorial
Huawei Cloud OBSHuawei Cloud OBS Migration Tutorial
Kingsoft Cloud KS3Kingsoft Cloud KS3 Migration Tutorial
Baidu Cloud BOSBaidu Cloud BOS Migration Tutorial

FAQs

1. How to Improve Migration Speed?

  • Use the concurrent upload feature of the COSCLI tool
  • Choose the same region as the source data to reduce network latency
  • Use a high-bandwidth network for transmission
  • For small files, you can package them before uploading and then extract

2. What Costs Does Migration Incur?

  • Storage Fee: Charged based on actual storage volume
  • Traffic Fee: CDN traffic fee

For details, see: CloudBase Billing Instructions