How to migrate from m1 to m2 steps wise solution to migrate data and all m1 configuration, If any step by step link or any solution or Magento tool to migrate the site,

Please give me an idea or suggestions to fly,

Thanks, advance!

3 Answers 3


Reference Link

Install Data Migration Tool

  1. Check your Magento 2 version :- sudo php bin/magento --version

  2. Install Data Migration Tool from repo.magento.com :-

    composer config repositories.magento composer https://repo.magento.com
    composer require magento/data-migration-tool:<magento_version>

  3. Configure Magento 2 Data Migration Tool :-

    1 The above file will contain configuration and scripts for migrating from Magento 1 Open Source platform to Magento 2 Open          Source platform.
         <your Magento 2 install dir>/vendor/magento/data-migration-tool/etc/opensource-to-opensource
    2 The above file will contain configuration and scripts for migrating from Magento 1 Open Source platform to Magento 2 Commerce.
         <your Magento 2 install dir>/vendor/magento/data-migration-tool/etc/opensource-to-commerce
    3 The above file will contain configuration and scripts for migrating from Magento 1 Commerce to Magento 2 Commerce.
         <your Magento 2 install dir>/vendor/magento/data-migration-tool/etc/commerce-to-commerce
  4. Configuring the migration :-

    1 Change to the following directory :-
      <your Magento 2 install dir>/vendor/magento/data-migration-tool/etc/<migration edition>/<ce or version>
    2 Rename config.xml.dist to config.xml 
      cp config.xml.dist config.xml
    3 Open config.xml in a text editor.
    4 Specify the following at minimum:
            <database host="localhost" name="Magento1-DB-name" user="DB-username" password="DB-password"/>
            <database host="localhost" name="Magento2-DB-name" user="DB-username" password="DB-password"/>
  5. Migrate settings :-

        php bin/magento migrate:settings --reset vendor/magento/data-migration-tool/etc/<edition-to-edition>/<version>/config.xml
  6. Migrate Data :-

        php bin/magento migrate:data --reset vendor/magento/data-migration-tool/etc/<edition-to-edition>/<version>/config.xml
        php bin/magento migrate:data --auto vendor/magento/data-migration-tool/etc/<edition-to-edition>/<version>/config.xml
  7. Migrate Delta :-

        php bin/magento migrate:delta --reset vendor/magento/data-migration-tool/etc/<edition-to-edition>/<version>/config.xml
        php bin/magento migrate:delta --auto vendor/magento/data-migration-tool/etc/<edition-to-edition>/<version>/config.xml
  • Hello, @Rk Rathod Greeting of the day! What is Delta migration? I mean what is the difference between Migrate Data and Migrate Delta? Explain here ASAP. Aug 4, 2021 at 6:22
  • And as mentiond step 7.Migrate Delta by two command it DONE Or anything else, Aug 4, 2021 at 6:26

Here you can find the completed details about the Migration and it process how to do the Migration.


  • Thanks, @Dhiren Any other document or guide or link For that? Then Comment here.., Jul 30, 2021 at 12:25
  • This is the standard guide provided by magento. If answer help you please upvote and accept as solutions so it will help other in community as well. Jul 30, 2021 at 12:36

I would like to suggest a few alternative options that I have experience.

1. Firebear Migration Plugin At the moment they sell it as a service, https://firebearstudio.com/custom-magento2-migration-services

2. Make Magento 1 headless and use it as a Backend API, composable commerce. You can save 100% of the functionality, and your sensitive data: customers, orders, etc. For example, this solution will allow saving all customer's passwords, orders, and sales history. https://sysint.net/services/migrate-from-magento-1.html

Your Answer

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

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