Magento2 Migration Tool – Migrate Only Customers

magento2magento2-migration-tool

I want to migrate all customers from magento 1.9.0.1 to 2.1.5 Magento. I dont want to migrate product and other things. Is it possible?

When i run bin/magento migrate:data this command it will migrate all things product, order and customer but I dont want migrate products and orders.

Best Answer

Yes,

It is possible to migrate only customers using migration tool.

But to achieve the same you need to know which tables are required to be migrated.

so, to break the solution into major steps :

step 1 : Comment all the non required steps

step 2 : Now Solve the errors for un-mapped fields if any.

step 3 : start migration by using cli command

bin/magento migrate:data <config.xml_path>

this should do the trick.

Get the idea about how tool is working and you will be able to perform above mentioned steps.

Now you asked about the steps in your comment, So, trying to answer that :

<step title="Customer Attributes Step">
            <integrity>Migration\Step\Customer\Integrity</integrity>
            <data>Migration\Step\Customer\Data</data>
            <volume>Migration\Step\Customer\Volume</volume>
</step>

keep this step and comment others. Solve the errors if any and run the data migration tool.