Skip to main content

Migration and Synchronization

info

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.

PageTask
TDengine Query MigrationMigrate defined objects and time windows; check mode and version boundaries.
TMQ Continuous SynchronizationConfigure subscription start, consumer group, snapshots, and continuous writes.
Object Selection and RenamingDefine the object set and preserve supertable/child-table relationships.
Edge, Cloud, and Data DiodesChoose execution location and transfer direction; distinguish network replication from file transfer.
Validation and Business CutoverCheck schema, times, counts, and values; define cutover and rollback conditions.
Disaster Recovery and Dual-Active ReplicationDeploy replication tasks and check progress, WAL retention, and failure boundaries.
note

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.