is it possible to exclude CMS blocks and CMS pages from migrateion magento1 to magento2 using Magento Migration Tool? We only need products, categories, rewiews, orders, customer ...
Thanks! Martin
is it possible to exclude CMS blocks and CMS pages from migrateion magento1 to magento2 using Magento Migration Tool? We only need products, categories, rewiews, orders, customer ...
Thanks! Martin
data-migration-tool/etc/opensource-to-opensource/1.9.3.2/map.xml.dist
Rename This File To map.xml
In Your config.xml file Chnage this :-
From :-
<map_file>etc/opensource-to-opensource/1.9.3.2/map.xml.dist</map_file>
To :-
<map_file>etc/opensource-to-opensource/1.9.3.2/map.xml</map_file>
In Your map.xml File Just Add Table Which You Want to Ignore under the source
document_rules
Tag
<source>
<document_rules>
<ignore>
<document>cms_block</document>
</ignore>
<ignore>
<document>cms_block_store</document>
</ignore>
<ignore>
<document>cms_page</document>
</ignore>
<ignore>
<document>cms_page_store</document>
</ignore>
<ignore>
<document>core_config_data</document>
</ignore>
</document_rules>
</source>
No Other Changes In Map.xml File Just Add Your Table
Find all cms from
data-migration-tool/etc/edition-to-edition/version/map.xml
Ignore them in:
vendor/magento/data-migration-tool/etc/edition-to-edition/settings.xml
So you need copy or rename settings.xml.dist to settings.xml
Good article you can find here: