Premium Only Content
How to migrate Magento 1 to Magento 2 using the data migration tool
► Fanpage: https://www.facebook.com/giaphugroupcom/
► Subscribe to my channel: https://www.youtube.com/giaphugroupco...
► Skype: cuongnq87
► The website link: https://www.giaphugroup.com/magento-2...
Hi everybody, I am Cuong, Welcome back to my Magento 2 tutorial video series. #Magento2Tutorial #Magento2Upgrade #MigrationM1toM2
Today, I am going to show everybody the best practice, How to migrate Magento 1.9 to 2.2 using the data migration tool.
As far as I know, Magento has developed the Magento 2 Data Migration Tool to help us efficiently move all of our products, customers, and order data, store configurations, promotions and more to Magento 2, however, there is not many peoples know how to use this data migration tool correctly. That is the reason why I do this video.
Before doing this practice, we need to know what this tool is supporting?
The Data Migration Tool transfers data from M1 database to M2 database based on a set of rules defined in xml files. To be clear, this tool only transfers data. Themes and customizations of your store can't be automatically changed or migrated to Magento 2.
The Data Migration Tool supports the following features:
1. Migrate Settings
This tool supports to migrate settings, websites, and stores to M2. Most of Magento data is related to websites and stores, so this needs to go first.
2. Migrate Data
This tool will transfer categories, products, customers, orders, wishlists, reviews and ratings, everything you can think of into M2. I believe we will even turn off some things, like logs or quotes.
3. Migrate Delta
After successful data migration, you can always just append new M1 entries to M2 database with delta migration, it will continue where it stopped last time. Delta doesn't migrate new or changed products or categories (at the moment of writing), only customers, orders, and similar customer related data.
In this practice, I will show everybody, the basic steps to migrate from Magento CE 1.9.2.3 to Magento CE 2.2.7 using the data migration tool, for the Magento versions 1.x other, you can do similar as the way I do in this video.
Okie, let's go.
Let's do this practice, you need to follow steps by step:
Step 1: Install the Magento CE 2.2.7 site.
- Before migrating, you must install Magento 2.2.7 on your website. Also, it must be an empty Magento CE 2.2.7 site, you don't add any products, categories, cms blocks, cms pages or update settings.
- You can learn how to install Magento CE 2.2.x here http://bit.ly/2Rcog0w
- Run the following command lines:
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
Step 2: Install the Data Migration Tool
- Run the command line: composer require magento/data-migration-tool:2.2.7
- If you are using the Magento 2.2.6, you replace 2.2.7 by 2.2.6
Step 3: Import the Magento 1.9.2.3 database.
- Create a new database for importing the database of Magento 1.9.2.3
Step 4: Configure Data Migration Tool
- Go the the folder vendor\magento\data-migration-tool\etc\opensource-to-opensource\1.9.2.3
1. Configuring the migration
- Copy the file named config.xml.dist to config.xml
- Open the file named config.xml for editing
- Update the information for the source and destination database.
- Add the password for connecting to the database
- The crypt_key tag is mandatory to fill. It can be found in local.xml file which is located in the directory of Magento 1 instance at app/etc/local.xml in key tag
- Update the source_prefix and dest_prefix if it exists in the Magento 1 Database.
2. Work with configuration and mapping files
- Copy the file named map.xml.dist to map.xml
- Go to this link for more information https://devdocs.magento.com/guides/v2...
Step 5: Run the settings migration command
- Migrate settings
bin/magento migrate:settings vendor/magento/data-migration-tool/etc/opensource-to-opensource/1.9.2.3/config.xml
See this link for more information https://devdocs.magento.com/guides/v2...
- Migrate data
bin/magento migrate:data -a vendor/magento/data-migration-tool/etc/opensource-to-opensource/1.9.2.3/config.xml
See this link for more information https://devdocs.magento.com/guides/v2...
- Copy the media files from Magento 1.9.2.3 to Magento 2.2.7
Step 6: Test and see the results
- Run the following command lines:
php bin/magento indexer:reindex
php bin/magento cache:flush
- Go to the Magento Admin Panel
- Go to the Storefront.
Yeah, It works perfectly. I have been successfully migrated from Magento CE 1.9.2.3 to Magento CE 2.2.7 using the Data Migration Tool. This is the default tool of Magento 2.
Don't forget to like, comment, share my videos and subscribe to my channel for getting the latest videos.
-
51:29
Uncommon Sense In Current Times
4 hours ago"Why This Election Was For Protecting Christian Freedom"
23 -
10:46
Degenerate Jay
9 hours agoThe Rejected Superman Ending Of Smallville Would Have Changed Everything
2382 -
19:01
Jamie Kennedy
8 hours agoWe're in a World of Dummies! | From Ep. 176 Hate to Break It To Ya w/ Jamie Kennedy
93 -
3:54
BIG NEM
15 hours agoWelcome to #NEMSWORLD UNCUT. The World's First Uncensored Sketch Comedy Podcast.
19 -
LIVE
Price of Reason
10 hours agoElon Musk TARGETED By Hollywood & MSM! Yellowstone DISAPPOINTS! Dragon Age Veilgard DISASTER!
4,637 watching -
DVR
Akademiks
5 hours agoLil Durk Pleads NOT GUILTY and Hires NBA Youngboy Lawyer To Represent him! Lil Baby tryna comeback?
88.8K9 -
3:27:19
SNEAKO
7 hours agoSNEAKO X JACE!
67.6K6 -
57:42
The Charlie Kirk Show
6 hours agoTHOUGHTCRIME: Clash of the Cabinet Edition
129K32 -
1:04:59
Man in America
10 hours agoThe Dark Truth Behind Sunscreen, Cancer, Pharmakeia & Doctor Worship w/ Jonathan Otto
37.6K9 -
49:35
PMG
1 day ago $7.11 earned'Ukraine and the Giant Distraction!"
33.5K9