You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: guides/v2.2/migration/migration-migrate-data.md
+17-41Lines changed: 17 additions & 41 deletions
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,9 @@ See the [First steps]({{ page.baseurl }}/migration/migration-migrate.html#migrat
19
19
20
20
To start migrating data, run:
21
21
22
-
bin/magento migrate:data [-r|--reset] [-a|--auto] {<path to config.xml>}
22
+
```bash
23
+
bin/magento migrate:data [-r|--reset] [-a|--auto] {<path to config.xml>}
24
+
```
23
25
24
26
where:
25
27
@@ -35,49 +37,23 @@ To force the Data Migration Tool to run from the beginning, use the `--reset` ar
35
37
36
38
## Possible consistency errors {#migrate-command-data}
37
39
38
-
While running, the Data Migration Tool may report inconsistencies between Magento 1 and Magento 2 databases, and display messages like this:
39
-
40
-
```xml
41
-
Source documents are not mapped: <EXTENSION_TABLE>
42
-
```
40
+
While running, the Data Migration Tool may report inconsistencies between Magento 1 and Magento 2 databases, and display messages like the following:
41
+
42
+
-`Source documents are missing: <EXTENSION_TABLE_1>,<EXTENSION_TABLE_2>,...<EXTENSION_TABLE_N>`
43
+
-`Destination documents are missing: <EXTENSION_TABLE_1>,<EXTENSION_TABLE_2>,...<EXTENSION_TABLE_N>`
44
+
-`Source documents are not mapped: <EXTENSION_TABLE_1>,<EXTENSION_TABLE_2>,...<EXTENSION_TABLE_N>`
45
+
-`Destination documents are not mapped: <EXTENSION_TABLE_1>,<EXTENSION_TABLE_2>,...<EXTENSION_TABLE_N>`
46
+
-`Source fields are missing. Document: <EXTENSION_TABLE>. Fields: <FIELD_1>,<FIELD_2>...<FIELD_N>`
47
+
-`Destination fields are missing. Document: <EXTENSION_TABLE>. Fields: <FIELD_1>,<FIELD_2>...<FIELD_N>`
48
+
-`Source fields are not mapped. Document: <EXTENSION_TABLE>. Fields: <FIELD_1>,<FIELD_2>...<FIELD_N>`
49
+
-`Destination fields are not mapped. Document: <EXTENSION_TABLE>. Fields: <FIELD_1>,<FIELD_2>...<FIELD_N>`
50
+
-`Mismatch of data types. Source document: <EXTENSION_TABLE>. Fields: <FIELD_1>,<FIELD_2>...<FIELD_N>`
51
+
-`Mismatch of data types. Destination document: <EXTENSION_TABLE>. Fields: <FIELD_1>,<FIELD_2>...<FIELD_N>`
52
+
-`Incompatibility in data. Source document: <EXTENSION_TABLE>. Field: <FIELD>. Error: <ERROR_MESSAGE>`
53
+
-`Incompatibility in data. Destination document: <EXTENSION_TABLE>. Field: <FIELD>. Error: <ERROR_MESSAGE>`
43
54
44
55
See the [Troubleshooting]({{ page.baseurl }}/migration/migration-troubleshooting.html) section of this guide for more information and recommendations.
45
56
46
-
<!--
47
-
48
-
When you migrate data, the Data Migration Tool verifies that tables and fields are consistent between Magento 1 and Magento 2. If they are inconsistent, you will see an error message that lists the problematic tables and fields, for example:
49
-
50
-
Source fields are not mapped. Document: <document_name>. Fields: <field_name>
51
-
52
-
**Possible reason for error:** some database entities belong to Magento 1 extensions that do not exist in the Magento 2 database.
53
-
54
-
Below are the possible ways to handle these errors.
Visit [Magento Marketplace](https://marketplace.magento.com/){:target:"_blank"} to find the latest [extension](https://glossary.magento.com/extension) versions or contact your extension provider.
59
-
60
-
### Fix errors: Ignore entities
61
-
62
-
You may tell the Data Migration Tool to ignore the problematic entities.
63
-
64
-
To do that, add the `<ignore>` tag to an entity in the `map.xml` file, like this:
65
-
66
-
```xml
67
-
<ignore>
68
-
<field>sales_order_address_id</field>
69
-
</ignore>
70
-
```
71
-
72
-
{: .bs-callout .bs-callout-warning }
73
-
Before ignoring entities, make sure you don't need the affected data in your Magento 2 store.
74
-
75
-
### Verify fixes
76
-
77
-
To know if the issues have been resolved successfully, run the Data Migration Tool again.
0 commit comments