Skip to main content
Version: 6.0-SNAPSHOT

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:

bash
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.

Commands​

dmt start​

Starts a new migration with the specified configuration.

Usage:

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

Parameters:

ParameterRequiredDescriptionDefault
--output-dir, -oOptionalOutput directory for the migration report.Current working directory
--yesOptionalIf set, the migration starts immediately, without any confirmation.false
--configRequired if no named config has been addedThe 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:

bash
dmt status [flags]

Parameters:

ParameterRequiredDescriptionDefault
--output-dir, -oOptionalOutput directory for the migration report.Current working directory
--configRequired if no named config has been addedThe 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:

bash
dmt cancel

Parameters:

ParameterRequiredDescriptionDefault
--configRequired if no named config has been addedThe 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:

bash
dmt estimate [dmt-config-path]

Parameters:

ParameterRequiredDescriptionDefault
--configRequired if no named config has been addedThe 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.