This is a prerelease version.

View latest

DMT Command Reference

The DMT commands allow you to manage your migration. DMT extends CLC, and uses the same the configuration. For further information on the configuration. refer to the Configuration for Hazelcast CLC topic in the CLC documentation. DMT adds migration configuration, which is provided as a path to the migration config folder.

The DMT commands have the following format:

dmt [command] [dmt-config-path] [flags]

[dmt-config-path] is the path of the "migration_config" folder that includes your migration config, which is explained in Using the Data Migration Tool section.

dmt start

Starts a new migration with the specified configuration.

Usage:

dmt start [dmt-config-path] [flags]

Parameters:

Parameter Required Description Default

--output-dir, -o

Optional

Output directory for the migration report.

Current working directory

--yes

Optional

If set, the migration starts immediately, without any confirmation.

false

--config

Required if no named config has been added

The configuration for connecting to the migration cluster. This can be omitted if a named config has been added.

See CLC configuration page to learn more about how DMT will choose a named configuration if this flag was not provided.

dmt status

Displays the status of the currently running migration.

Usage:

dmt status [flags]

Parameters:

Parameter Required Description Default

--output-dir, -o

Optional

Output directory for the migration report.

Current working directory

--config

Required if no named config has been added

The configuration for connecting to the migration cluster. This can be omitted if a named config has been added.

See CLC configuration page to learn more about how DMT will choose a named configuration if this flag was not provided.

dmt cancel

Cancels the migration.

Usage:

dmt cancel

Parameters:

Parameter Required Description Default

--config

Required if no named config has been added

The configuration for connecting to the migration cluster. This can be omitted if a named config has been added.

See CLC configuration page to learn more about how DMT will choose a named configuration if this flag was not provided.

dmt estimate

Estimates the duration of the migration using the specified configuration.

Usage:

dmt estimate [dmt-config-path]

Parameters:

Parameter Required Description Default

--config

Required if no named config has been added

The configuration for connecting to the migration cluster. This can be omitted if a named config has been added.

See CLC configuration page to learn more about how DMT will choose a named configuration if this flag was not provided.