I am using Magento data-migration tool and can do migrate all data successfully.
I required to:
migrate only customers
migrate only Orders
migrate only Products
Followed below link and achieved migrate only customers.
Magento 2: is it possible to migrate only customer using migration tool
Followed below link and achieved migrate only Orders.
Magento 2: Migrate only Customer and orders
Can anyone help me with how to migrate only products?
Referred to some links but they are not useful.
If anyone worked on migration please help me to achieve the above requirement.
Note: If there are any free migration script or migration can be done programmatically please share the links or ideas.
Migration can be done programmatically apart from the cli? If anyone tried this share the knowledge, please
Thanks
Best Answer
Please you can try migrate only products in this way:
1 backup your Magento2 database 2 in your tool > config.xml leave only
"Map Step" and "ConfigurablePrices step" for mode="data"
. Like this3 instead of $sourceDocuments = $this->source->getDocumentList(); paste the next code
4 migrate data with
--reset