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 Solutions Overview
Choose the appropriate migration solution based on your data source and migration needs:
| Data Source | Recommended Tool | Applicable Scenarios | Data Volume |
|---|---|---|---|
| Local Data | COSBrowser | Visual operation, small to medium data volumes | < 10GB |
| Local Data / Tencent Cloud COS | COSCLI | Command-line operation, batch processing | Any |
| Third-party Cloud Storage | rclone, Cloud Migration CMG | Cross-cloud platform migration | Any |
I. Local Data Migration to Cloud Storage
Solution 1: COSBrowser (Recommended)
Tool Introduction
COSBrowser is a visual interface tool that supports users to perform data upload, download, generate access links and other functions through a simple interface.
Applicable Scenarios
- ✅ Small to medium data volume migration (< 10GB)
- ✅ Need visual operation interface
- ✅ Batch upload and download files
- ✅ Manage cloud storage files
Operation Steps
1. Download and Install COSBrowser
Visit COSBrowser Download Page to download and install the client.
2. Login with Secret Key
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:
- Open COSBrowser tool
- Select "Secret Key Login"
- Fill in the following information:
- SecretId / SecretKey: Obtain from Access Key Management
- Bucket Name: Obtain bucket name from CloudBase/Cloud Storage

- Region: Select the region where your environment is located (Cloud Storage is fixed to:
ap-shanghai)
3. Upload Local Files
After successful login:
- Select the file or folder to upload in the left local file system
- Drag and drop to the right cloud storage area, or right-click to select "Upload"
- Wait for upload to complete
For detailed usage, please refer to: COSBrowser Usage Documentation
Solution 2: COSCLI
Tool Introduction
COSCLI is a client command-line tool built with Golang, no need to install dependent environments, ready to use out of the box. You can perform batch upload, download, delete and other operations on objects in cloud storage through simple command-line instructions.
The COSCLI tool is maintained by the Tencent Cloud COS team. The CloudBase team does not provide technical support for this tool. Using this tool requires certain command-line operation and technical foundation. If you encounter tool-related issues, please refer to COSCLI Official Documentation or contact the COS team.
Applicable Scenarios
- ✅ Large number of files batch migration
- ✅ Automated script deployment
- ✅ Familiar with command-line operations
- ✅ Support cross-bucket operations
For detailed usage, please refer to: COSCLI Tool Documentation
II. Third-party Cloud Storage Migration to Cloud Storage
Solution: rclone Migration (for S3-compatible Storage)
CloudBase Cloud Storage is compatible with the S3 protocol. You can use rclone to migrate data from S3-compatible storage such as Supabase Storage, Alibaba Cloud OSS, and AWS S3 directly to CloudBase. rclone is a single binary written in Go with no external dependencies, and supports resume transfers and concurrent transfers.
➡️ See the detailed guide: Migrate S3-Compatible 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 in third-party cloud platforms such as Alibaba Cloud OSS, AWS S3, etc., you can use the Cloud Migration CMG service to quickly migrate to CloudBase Cloud Storage.
Supported Cloud Platforms
Cloud Migration CMG supports migrating data from the following cloud platforms:
| Cloud Platform | Migration Tutorial |
|---|---|
| Alibaba Cloud OSS | Alibaba Cloud OSS Migration Tutorial |
| AWS S3 | AWS S3 Migration Tutorial |
| Qiniu Cloud | Qiniu Cloud Migration Tutorial |
| Upyun | Upyun Migration Tutorial |
| Huawei Cloud OBS | Huawei Cloud OBS Migration Tutorial |
| Kingsoft Cloud KS3 | Kingsoft Cloud KS3 Migration Tutorial |
| Baidu Cloud BOS | Baidu Cloud BOS Migration Tutorial |
III. LeanCloud Storage Migration to CloudBase
Solution: Using Migration Script Tool
This migration solution requires the official migration script tool. Please download the script package first:
➡️ Download LeanCloud Migration Tool
🚀 After downloading and extracting to local, please carefully read the README.md document and follow the steps below for configuration and execution.
The migration script tool can help you batch migrate files stored in LeanCloud to CloudBase Cloud Storage.
Features
- ✅ Read all file metadata from LeanCloud
_Filetable - ✅ Automatically concatenate URLs and batch download files