Skip to main content

Choose a data transfer method

info

Choose a transfer method based on the expected result: historical migration, continuous synchronization, or backup and restore. After choosing the task type, determine which host will actually execute it.

Where to operate: select a task type in the table below, then follow the corresponding ingestion or migration guide.

Queries, subscriptions, backfill, and backups have different progress and recovery conditions. Do not choose only by which is fastest.

1. Choose by expected result​

RequirementRecommended starting pointContinuous operationHow to check progress and results
Continuously ingest messages such as KafkaMessage queuesUsually continuous; the task timeout setting determines when it ends.Check consumer groups/subscriptions, source retention, message times, and target values. Consumer positions do not replace verification of target data.
Collect OPC current valuesIndustrial data collectionContinuous polling or subscription.Compare point current values, source timestamps, and collection mode. Changes missed during downtime are not guaranteed to be recoverable.
Existing PI historical dataBackfill a historical range from PIBounded backfill; ends on completion.Check points, time range, archived events, and model. Preserve task and execution state for recovery.
Historical or new relational database dataCommon relational database rulesBounded when an end time is set; some tasks support continuous queries.Check query windows and checkpoints, and confirm how late data is handled. It does not automatically replicate all updates and deletes.
Move InfluxDB or OpenTSDB dataDatabasesBounded history or continuous reading.Check time series, precision, time windows, and target models. For business cutover, also see combined scenarios.
A historical time range in TDengineMigrate a time range with the CLIBounded query.Check source and target versions, objects, and time boundaries. An independent CLI is not automatically taken over by Xnodes.
Continuously replicate TDengine incremental dataContinuous TMQ synchronizationContinuous TMQ subscriptions and other methods.Check subscription start, WAL retention, progress, and failure windows. A historical query tutorial does not replace incremental synchronization design.
Import generated data filesFile importBounded files; CSV can also watch for new files.Check the file list, schemas, target row counts, and processing records. Before reimporting, assess whether data will be overwritten or duplicated.
Restore to a backup point after failureBackup and restoreBackup and restore run separately.Check the backup point, complete chain, and restored data. Task exports and error archives are not database backups.

2. Choose the execution location​

Prefer taosExplorer when continuous tasks need centralized management.

For independent taosX command-line operations, see the corresponding taosX CLI guide. Confirm the terminal host and file paths first.

If the source provides only a Windows SDK or COM/DCOM interface, deploy the taosX-Agent collection proxy on a Windows host with those dependencies. The collected data can be written to TDengine TSDB deployed on any operating system.

info

The taosX-Agent proxy addresses only execution location and source reachability.

3. Additional checks before business cutover​

Protect new data generated during migration before handling historical data. Check the boundary time between historical and real-time paths, target table names, primary key precision, quality and status, and tags. Query syntax, dashboards, and alarm rules require separate cutover work; data migration does not switch them automatically. Use Validation and business cutover to plan verification, an observation period, and rollback conditions. For coordination across multiple sources, also see Combined scenarios.