Command syntax

Below is a typical command example:

bin/magento migrate:<mode> [-r|--reset] [-a|--auto] {<path to config.xml>}

Where:

  • <mode> may be: settings, data, or delta
  • [-r|--reset] is an optional argument that starts migration from the beginning. You can use this argument for testing migration.
  • [-a|--auto] is an optional argument that prevents migration from stopping when it encounters integrity check errors.
  • {<path to config.xml>} is the absolute file system path to config.xml; this argument is required.
NOTE
Logs are written to the <magento_root>/var/ directory.

Migration order

When we created the Data Migration Tool, we assumed the following data transfer sequence:

We strongly recommend migrating data in the same order.

Commerce