Data Transmission Service (DTS) lets you 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 target instance is the destination instance for a synchronization or migration.
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 steps to create a task are similar for data synchronization and data migration instances. This topic uses a data synchronization instance as an example.
Navigate to the list of synchronization tasks in the destination region. You can use one of the following methods:
Go to the page from the DTS console
Log on to the Data Transmission Service (DTS) console.
In the left navigation pane, click Data Synchronization.
In the upper-left corner of the page, select the region where the synchronization instance resides.
Go to the page from the DMS console
NoteThe actual operations may vary based on the mode and layout of the DMS console. For more information, see Simple mode console and Customize the layout and style of the DMS UI.
Log on to Data Management (DMS).
On the top menu bar, choose .
To the right of Data Synchronization Tasks, select the region where the synchronization instance is located.
Find the DTS instance based on which you want to create a similar instance. Click the icon and select Duplicate Task in the Actions column.
Configure the source and destination databases.
Check whether the default configurations meet your business requirements. You can modify the parameters as required.
ImportantBy 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
After completing the configuration, click Test Connectivity and Proceed at the bottom of the page.
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 IP addresses of DTS servers in the corresponding region to the whitelist of the Alibaba Cloud database instance. If the source or destination database is a self-managed database that is hosted on an ECS instance, DTS automatically adds the IP addresses of DTS servers in the corresponding region to the security rules of the ECS instance. You must also ensure that the self-managed database allows access from the ECS instance. If the database is deployed in a cluster on multiple ECS instances, you must manually add the IP addresses of DTS servers in the corresponding region to the security rules of each ECS instance. If the source or destination database is a self-managed database in an IDC or a database from another cloud service provider, you must manually add the IP addresses of DTS servers in the corresponding region to allow access from the DTS servers. For more information about the IP addresses of DTS servers, see IP address blocks of DTS servers.
WarningAdding the public IP address blocks of DTS servers, whether automatically or manually, can introduce security risks. Using this product, you acknowledge these potential risks. You are responsible for implementing basic security measures. These measures include but are not limited to strengthening password security, restricting open ports for CIDR blocks, using authentication for internal API communication, and regularly reviewing and restricting unnecessary CIDR blocks. Alternatively, you can connect to the database over an internal network, such as a leased line, a VPN gateway, or a Smart Access Gateway.
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.
Click Next: Advanced Settings to configure advanced settings.
Data Verification Settings
You can modify only the Data Verification Mode and Verification Objects parameters. For more information, see What is data validation
Advanced Settings
Configure the parameters as required. For more information, see Overview of data synchronization solutions or Overview of migration solutions.
Save the task and run a precheck.
To view the API parameters for configuring this instance, hover over the Next: Save Task Settings and Precheck button and click Preview OpenAPI parameters in the bubble.
If you have finished viewing the API parameters, click Next: Save Task Settings and Precheck at the bottom of the page.
NoteBefore the synchronization job starts, DTS runs a precheck. The job can start only after all precheck items are passed.
If the precheck fails, click View Details for the failed item. Fix the issue as prompted, and then run the precheck again.
If the precheck generates a warning:
If a check item fails and cannot be ignored, click View Details next to the item. Follow the instructions to fix the issue, and then run the precheck again.
For check items that can be ignored, you can click Confirm Alert Details, Ignore, OK, and Precheck Again in sequence to skip the warning and rerun the precheck. If you choose to shield the warning item, it may cause issues such as data inconsistency and pose risks to your business.
Perform subsequent steps as prompted.
FAQ
Am I able to create a similar instance based on an existing change tracking instance?
Not supported.
Is it possible to create a similar task from a released instance?
No. After an instance is released, it is deleted from the job list and you cannot perform any further operations on it.
Am I able to create a similar instance using the API?
Not supported.
Am I able to create an identical instance based on an existing DTS instance with a few clicks?
Not supported.
