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.
-
LIVE
TimcastIRL
2 hours agoABC REVIVES Jimmy Kimmel After TERROR Attack On Station, Sinclair REFUSES To Air Show | Timcast IRL
8,636 watching -
LIVE
Akademiks
1 hour agoYoung Thug Dissing YFN Lucci. Ready to Go back to Jail. Offset vs Cardi b
1,490 watching -
2:32:12
The Charlie Kirk Show
3 hours agoTPUSA Presents This is The Turning Point Tour LIVE with Michael Knowles
87.5K31 -
LIVE
Drew Hernandez
7 hours agoDISNEY CUCKS FOR KIMMEL & ADDRESSING THE CHARLIE KIRK MEMORIAL AFTERMATH
1,025 watching -
DVR
Flyover Conservatives
6 hours agoThe Most Overlooked Way to Fight Abortion (It’s Not Protests) - Robert Netzly; Why Triple-Digit Silver is Coming - Dr. Kirk Elliott | FOC Show
10.7K1 -
1:55:33
Glenn Greenwald
5 hours agoDeceitful Hysteria over Tucker's Speech on Kirk; IDF Funder Larry Ellison to Take Over CBS, Paramount, and now TikTok; U.S. Embraces Leading Al-Qaeda Terrorist | SYSTEM UPDATE #519
147K53 -
34:40
Donald Trump Jr.
7 hours agoWe Will Make Charlie Proud | TRIGGERED Ep.276
177K82 -
1:01:49
BonginoReport
6 hours agoErika Kirk Forgives Charlie’s Assassin - Nightly Scroll w/ Hayley Caronia (Ep.139)
76.9K75 -
megimu32
3 hours agoOn The Subject: Rush Hour | Would It Be Cancelled Today?
20.4K5 -
1:24:12
Katie Miller Pod
5 hours ago $1.83 earnedEpisode 7 - Jillian Michaels | The Katie Miller Podcast
66.4K3