All Products
Search
Document Center

Data Transmission Service:Create a similar instance

Last Updated:Mar 13, 2025

Data Transmission Service (DTS) allows you to use some configurations of an existing data synchronization or migration instance as the default configurations of a new DTS instance. This helps you create DTS instances with similar configurations in a convenient and fast manner. When you create a similar instance, you can modify the configurations as required.

Prerequisites

  • A data synchronization or migration instance is created and configured as the existing DTS instance.

  • The existing DTS instance is in the Precheck stage or later and is displayed on the Data Synchronization Tasks or Data Migration Tasks page.

Usage notes

  • When you create a similar instance based on an existing DTS instance, DTS retains only some configurations of the existing DTS instance and you must manually complete the configurations of the new DTS instance. You can also modify the retained configurations. You cannot specify the configurations to be retained.

  • Make sure that the objects selected in the Configure Objects and Advanced Settings step exist in the source database and the destination database can receive data as expected.

Procedure

The procedure for creating a similar data synchronization instance is the same as that for creating a similar data migration instance. In this example, a similar data synchronization instance is created.

  1. Use one of the following methods to go to the Data Synchronization page and select the region in which the data synchronization instance resides.

    DTS console

    1. Log on to the DTS console.

    2. In the left-side navigation pane, click Data Synchronization.

    3. In the upper-left corner of the page, select the region in which the data synchronization instance resides.

    DMS console

    Note

    The actual operations may vary based on the mode and layout of the DMS console. For more information, see Simple mode and Customize the layout and style of the DMS console.

    1. Log on to the DMS console.

    2. In the top navigation bar, move the pointer over Data + AI and choose DTS (DTS) > Data Synchronization.

    3. From the drop-down list to the right of Data Synchronization Tasks, select the region in which the data synchronization instance resides.

  2. From the drop-down list to the right of Data Synchronization Tasks, select the region in which the data synchronization instance resides.

  3. Find the DTS instance based on which you want to create a similar instance. Click the image.png icon and select Duplicate Task in the Actions column.

  4. Configure the source and destination databases.

    Check whether the default configurations meet your business requirements. You can modify the parameters as required.

    Important
    • By default, the name of the new DTS instance is the same as that of the existing DTS instance. We recommend that you specify a descriptive name for easy identification. You do not need to specify a unique name.

    • If the source database is an ApsaraDB RDS for SQL Server instance, the Database Account parameter is set to rdsdt_dtsacct by default, which is the built-in account created by DTS. You must change the account to the database account of the source ApsaraDB RDS for SQL Server instance.

    • You must make sure that DTS can connect to the source and destination databases based on the configuration information and that the database accounts used in the DTS task have the required permissions.Database Account

  5. In the lower part of the page, click Test Connectivity and Proceed.

    If the source or destination database is an Alibaba Cloud database instance, such as an ApsaraDB RDS for MySQL instance or an ApsaraDB for MongoDB instance, DTS automatically adds the CIDR blocks of DTS servers to the whitelist of the instance. If the source or destination database is a self-managed database hosted on an Elastic Compute Service (ECS) instance, DTS automatically adds the CIDR blocks of DTS servers to the security group rules of the ECS instance, and you must make sure that the ECS instance can access the database. If the database is deployed on multiple ECS instances, you must manually add the CIDR blocks of DTS servers to the security group rules of each ECS instance. If the source or destination database is a self-managed database that is deployed in a data center or provided by a third-party cloud service provider, you must manually add the CIDR blocks of DTS servers to the whitelist of the database to allow DTS to access the database. For more information, see the "CIDR blocks of DTS servers" section of the Add the CIDR blocks of DTS servers topic.

    Warning

    If the CIDR blocks of DTS servers are automatically or manually added to the whitelist of the database or instance, or to the ECS security group rules, security risks may arise. Therefore, before you use DTS to synchronize data, you must understand and acknowledge the potential risks and take preventive measures, including but not limited to the following measures: enhancing the security of your username and password, limiting the ports that are exposed, authenticating API calls, regularly checking the whitelist or ECS security group rules and forbidding unauthorized CIDR blocks, or connecting the database to DTS by using Express Connect, VPN Gateway, or Smart Access Gateway.

  6. Select the objects to be synchronized and configure advanced settings.

    • Parameters with default configurations: Check whether the default configurations meet your business requirements. You can modify the parameters as required.

    • Unconfigured parameters: Configure the parameters as required.

  7. Click Next: Advanced Settings to configure advanced settings.

  8. Save the task settings and run a precheck.

    • To view the parameters to be specified when you call the relevant API operation to configure the DTS task, move the pointer over Next: Save Task Settings and Precheck and click Preview OpenAPI parameters.

    • If you do not need to view or have viewed the parameters, click Next: Save Task Settings and Precheck in the lower part of the page.

    Note
    • Before you can start the data synchronization task, DTS performs a precheck. You can start the data synchronization task only after the task passes the precheck.

    • If the data synchronization task fails the precheck, click View Details next to each failed item. After you analyze the causes based on the check results, troubleshoot the issues. Then, rerun the precheck.

    • If an alert is triggered for an item during the precheck:

      • If an alert item cannot be ignored, click View Details next to the failed item and troubleshoot the issue. Then, run a precheck again.

      • If an alert item can be ignored, click Confirm Alert Details. In the View Details dialog box, click Ignore. In the message that appears, click OK. Then, click Precheck Again to run a precheck again. If you ignore the alert item, data inconsistency may occur, and your business may be exposed to potential risks.

  9. Perform subsequent steps as prompted.

FAQ

  • Am I able to create a similar instance based on an existing change tracking instance?

    No, you cannot create a similar instance based on an existing change tracking instance.

  • Am I able to create a similar instance based on a released DTS instance?

    No, you cannot create a similar instance based on a released DTS instance. After a DTS instance is released, it is deleted from the Data Synchronization Tasks or Data Migration Tasks page and can no longer be managed.

  • Am I able to create a similar instance by using the API?

    No, you cannot create a similar instance by using the API.

  • Am I able to create an identical instance based on an existing DTS instance with a few clicks?

    No, you cannot create an identical instance based on an existing DTS instance with a few clicks.