cancel
Showing results for 
Search instead for 
Did you mean: 

settings.xml

settings.xml

I want to exclude 2 entire tables from my Magento 1 instance for migration to 2. How would I do this in the XML? I see the ignore command but it just says "document, field or datatype marked with this option will be ignored" But I want to ignore entire tables. 

1 REPLY 1

Re: settings.xml

You can exclude entire table using below way from magento 1 to magento 2 migration,

 

Edit your map.xml file into your migration directory from,

vendor/magento/data-migration-tool/etc/{Migrate-version}/{Old-magento1-version}/map.xml

Now add below content in source -> document_rules node,

<source>
	<document_rules>
		<ignore>
		    <document>custom_tablename</document>
		</ignore>
	<document_rules>
<source>

Replace custom_tablename with your table name and run migration command.

 

if issue solved, Click Kudos/Accept as Solutions.

If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial