Migration and Synchronization
This chapter covers query migration, TMQ synchronization, object selection and renaming, edge/cloud and data-diode transfer, cutover validation, and disaster recovery/dual-active replication between TDengine clusters. First define migration objects and time windows, then read about continuous synchronization, and finally address cutover and deployment. Validate version and schema compatibility with a small object set first.
Where to operate: TDengine Query and TDengine Data Subscription in taosExplorer, or taosx run. Manage dual-active tasks with Xnode SQL in the taosExplorer Data Browser or taos CLI.
| Page | Task |
|---|---|
| TDengine Query Migration | Migrate defined objects and time windows; check mode and version boundaries. |
| TMQ Continuous Synchronization | Configure subscription start, consumer group, snapshots, and continuous writes. |
| Object Selection and Renaming | Define the object set and preserve supertable/child-table relationships. |
| Edge, Cloud, and Data Diodes | Choose execution location and transfer direction; distinguish network replication from file transfer. |
| Validation and Business Cutover | Check schema, times, counts, and values; define cutover and rollback conditions. |
| Disaster Recovery and Dual-Active Replication | Deploy replication tasks and check progress, WAL retention, and failure boundaries. |
One-way TMQ synchronization, dedicated dual-active replication, Xnode task takeover, and database backup solve different problems. Two ordinary reverse synchronization tasks are not dual-active replication, and continuous replication is not a backup against accidental deletion. Start the first exercise with Migrate a Time Range with the CLI.