twincommit snapshot
twincommit snapshot copies the current contents of each table to the target and records the log position from which run continues. See snapshots for how consistency is achieved.
twincommit snapshot -config pipeline.yamltwincommit snapshot -config pipeline.yaml -tables SALES.ORDERS,SALES.ORDER_LINES| Flag | Description |
|---|---|
-config |
Path to the pipeline file |
-tables |
Comma-separated SCHEMA.TABLE list. Default: every table in the pipeline. |
Example
Section titled “Example”{"level":"info","msg":"snapshot start","table":"SALES.ORDERS","position":"0000000004F2A100"}{"level":"info","msg":"snapshot done","table":"SALES.ORDERS","rows":1048211,"elapsed":"41.2s"}