This topic describes the common solutions for migrating SQL Server databases to Alibaba Cloud. You can select a solution based on the location of the data source, the tools used in each solution, and the benefits and limits of each solution.
Cloud migration solutions
Solution | Usage notes | References | |
Physical cloud migration | Use Object Storage Service (OSS) to manually migrate data |
| Migrate data from a self-managed SQL Server instance to an ApsaraDB RDS for SQL Server instance Note If the source database runs SQL Server 2008 R2, we recommend that you upgrade the database version before you perform the operation. |
Use Database Backup (DBS) and Data Transmission Service (DTS) to migrate data with a few clicks |
| ||
Logical cloud migration | Use DTS to migrate data in log parsing mode |
| Migrate data from a self-managed SQL Server database to an ApsaraDB RDS for SQL Server instance |
Use DTS to migrate data in hybrid log parsing mode |
| ||
Other | Use SQL Server Management Studio (SSMS) to migrate data |
|
Comparison of the cloud migration solutions
Solution | Benefit | Limit | |
Physical cloud migration | Use OSS to manually migrate data |
|
|
Use DBS and DTS to migrate data with a few clicks |
|
| |
Logical cloud migration | Use DTS to migrate data in log parsing mode |
|
|
Use DTS to migrate data in hybrid log parsing mode |
|
| |
Other | Use SSMS to migrate data | The operations are simple, the process is stable, and the risk of data inconsistency is low. |
|
Select a cloud migration solution
If the data source does not support incremental data migration, you must stop writing data to the source database before you migrate data to the cloud.
Data source | Whether incremental data migration is supported | Supported solution | Recommended solution |
Self-managed SQL Server database | Yes |
| Use DBS and DTS to perform physical cloud migration with a few clicks. For more information, see Migrate data from a self-managed SQL Server database to an ApsaraDB RDS for SQL Server instance by using a physical gateway. |
Azure SQL Database | No |
| Use SSMS to perform cloud migration. For more information, see Use SSMS to migrate data to the cloud. |
Azure SQL Managed Instance | Yes |
| Use DTS to perform logical cloud migration. For more information, see Migrate data from a self-managed SQL Server database to an ApsaraDB RDS for SQL Server instance. Important The incremental data migration tasks in DTS may fail due to frequent log truncation in the source database. We recommend that you use this solution for short-term cloud migration. |
Azure SQL Server (logical server) | |||
Amazon RDS for SQL Server | No |
| Use DTS to perform logical cloud migration. For more information, see Migrate data from a self-managed SQL Server database to an ApsaraDB RDS for SQL Server instance. |
Huawei Cloud RDS for SQL Server | No |
| Use OSS to manually perform physical cloud migration for full data migration. For more information, see Migrate the full backup data of a self-managed SQL Server instance to an ApsaraDB RDS instance. Note
|
TencentDB for SQL Server database | Yes |
| Use DTS to perform logical cloud migration. For more information, see Migrate data from a self-managed SQL Server database to an ApsaraDB RDS for SQL Server instance. |