Connector tasks¶
Use connector to query and manage connectors, preview files, create import tasks, and query export tasks. Connectors and tasks belong to the current workspace.
moi-cli -o connector list
moi-cli -o connector tasks
moi-cli connector --help
Create and track tasks¶
Task |
Commands |
Notes |
|---|---|---|
Inspect or validate a connector |
|
Confirm that the connector is usable before creating a task. |
Preview a file |
|
Confirm the file and content scope. |
Create an import or export task |
|
Provide complex configuration only with confirmed |
Inspect task state |
|
Save connector and task IDs; acceptance does not mean completion. |
Before deleting, retrying, or resuming a task, read its latest state. After a network timeout, do not submit the task again immediately: first check whether the original task was created or is already running.
Browse structured sources and prepare mappings¶
Task |
Commands |
Notes |
|---|---|---|
Browse database sources |
|
Confirm the source from database to table. |
Browse structured sources |
|
Confirm objects level by level; |
Confirm a MatrixOne target table |
|
Confirm target databases and tables before a write. |
Generate or inspect column mappings |
|
Provide mapping and backfill parameters only through confirmed |
Manage files, imports, and exports¶
Task |
Commands |
Notes |
|---|---|---|
Download, stream, or delete connector files |
|
Read the current file state before deletion. |
Manage import tasks |
|
Save the task ID and target volume or file information before operating. |
Manage export tasks |
|
Read current state before a change; deletion does not undo data written to a destination system. |