Migrate from magento 1 to magento 2 :

Migrate data from magento 1 to magento 2


Magento providing the data migration tool to migrate data from magento 1 to magento 2.
Please check the following link for more information :
https://magento.stackexchange.com/questions/207861/migration-from-magento-1-to-magento-2-delta

How to install data migration tool in magento 2


To install the data migration tool in magento 2 use the following command in cmd :

composer require magento/data-migration-tool:<magento_version>
-----------------------------------------------------------------------------------------------------------------
Command for migrate data from magento 1 to magento 2


Use the following command to migrate data from magento 1 to 2 after installing migration tool :
sudo php bin/magento migrate:data -r vendor/magento/data-migration-tool/etc/opensource-to-opensource/1.9.3.9/config.xml


-------------------------------------------------------------------------------------------------------------------------
After migrating all data if you like that some orders data is not migrated or customer data is not migrated than you can migrate only that part of data without migrating all data. Like migrate only order data.
You will need to make change in /vendor/magento/data-migration-tool/opensource-to-opensource/config.xml
In this xml file under <steps mode="data"> add only following code and remove other code from this tag.
<step title="OrderGrids Step">
            <integrity>Migration\Step\OrderGrids\Integrity</integrity>
            <data>Migration\Step\OrderGrids\Data</data>
            <volume>Migration\Step\OrderGrids\Volume</volume>
        </step>

Comments

Popular Posts