I want to migrate all customers from magento 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.


2 Answers 2



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">

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

  • 1
    can you please explain me which steps i need to comment for that? because i am working first time on that Mar 18, 2017 at 16:06
  • Welcome. Happy to help :) Mar 19, 2017 at 4:54
  • Customers are migrated in database but not displaying in ADMIN. can you help me? All other content is migrated except customer.
    – Jarnail S
    May 4, 2017 at 9:39
  • my mistake was here. Customer and all data is migrated.
    – Jarnail S
    May 8, 2017 at 12:34
  • if i want to migrate only ORDERS? All data is migrating even customers individually is also migrating. Want only Orders. Which is right steps for it?
    – Jarnail S
    May 8, 2017 at 12:36

mode and steps in that mode you need in config.xml is

<steps mode="data">
<step title="Customer Attributes Step">
    <step title="Map Step">

Files to specify in option tags in config.xml are


i have perfect answer for this

rename config.xml.dist, map.xml.dist and map-customers.xml.dist as config.xml, map.xml and map-customer.xml

  • Is this worked for you? @Uppal Apr 16, 2019 at 6:59
  • Hi @Ds Uppal are these files are enough to migrate customer data? Aug 6, 2019 at 9:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.