Hi,
I want to do migration only products from 1.9.1.1 to 2.3.5-p1. How can I do this. Please let me know step by step.
Thanks
Hi @gkarthick87
You can try migrate only products in this way:
1. Backup your Magento 2 DB
2. In your tool > config.xml leave only "Map Step" and "ConfigurablePrices step" for mode="data". Like this
<steps mode="data">
<step title="Map Step">
<data>Migration\Step\Map\Data</data>
</step>
<step title="ConfigurablePrices step">
<data>Migration\Step\ConfigurablePrices\Data</data>
</step>
</steps>3. Instead of $sourceDocuments = $this->source->getDocumentList(); paste the next code:
$sourceDocuments =
[
'catalog_product_bundle_option',
'catalog_product_bundle_option_value',
'catalog_product_bundle_price_index',
'catalog_product_bundle_selection',
'catalog_product_bundle_selection_price',
'catalog_product_bundle_stock_index',
'catalog_product_enabled_index',
'catalog_product_entity',
'catalog_product_entity_datetime',
'catalog_product_entity_decimal',
'catalog_product_entity_gallery',
'catalog_product_entity_group_price',
'catalog_product_entity_int',
'catalog_product_entity_media_gallery',
'catalog_product_entity_media_gallery_value',
'catalog_product_entity_text',
'catalog_product_entity_tier_price',
'catalog_product_entity_varchar',
'catalog_product_link',
'catalog_product_link_attribute',
'catalog_product_link_attribute_decimal',
'catalog_product_link_attribute_int',
'catalog_product_link_attribute_varchar',
'catalog_product_link_type',
'catalog_product_option',
'catalog_product_option_price',
'catalog_product_option_title',
'catalog_product_option_type_price',
'catalog_product_option_type_title',
'catalog_product_option_type_value',
'catalog_product_relation',
'catalog_product_website',
]4 migrate data with --reset
It may help you!
Problem Solved? Please click on 'Kudos' & Accept as Solution!
Okay. I will try this. If I want to migrate only Orders & Customers details only then? Please let me know.
Hi @gkarthick87 ,
You need to do these settings in the config.xml for migrating orders and customers only
<steps mode="data">
<step title="Customer Attributes Step">
<integrity>Migration\Step\Customer\Integrity</integrity>
<data>Migration\Step\Customer\Data</data>
<volume>Migration\Step\Customer\Volume</volume>
</step>
<step title="Map Step">
<integrity>Migration\Step\Map\Integrity</integrity>
<data>Migration\Step\Map\Data</data>
<volume>Migration\Step\Map\Volume</volume>
</step>
<step title="OrderGrids Step">
<integrity>Migration\Step\OrderGrids\Integrity</integrity>
<data>Migration\Step\OrderGrids\Data</data>
<volume>Migration\Step\OrderGrids\Volume</volume>
</step>
<step title="SalesIncrement Step">
<integrity>Migration\Step\SalesIncrement\Integrity</integrity>
<data>Migration\Step\SalesIncrement\Data</data>
<volume>Migration\Step\SalesIncrement\Volume</volume>
</step>
</steps>For more information, you can follow the below link:
https://magento.stackexchange.com/questions/268804/magento-2-migrate-only-customer-and-orders
Hope this helps you!
Problem Solved! Click Kudos & Accept as Solution!
I have migrated product already, but some issue I have restore database 3 day old, but now product not migrating again by delta or data,
how I can remigrate product ?