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.
-
5:38:03
BrancoFXDC
9 hours ago $18.80 earnedWarzone Resurgence Rounds!
58.4K1 -
48:02
Man in America
15 hours agoWill Trump FINALLY Prosecute the 2020 Election Criminals? w/ FEC Commissioner Trey Trainor
87.1K80 -
12:51
Tundra Tactical
13 hours ago $32.54 earnedNYC Killer: Guilty or Patsy?
98.4K16 -
26:09
MYLUNCHBREAK CHANNEL PAGE
1 day agoThe Hidden Tunnels of Osiris
130K59 -
2:42:35
Jewels Jones Live ®
1 day agoLAWFUL DRONES | A Political Rendezvous - Ep. 102
183K35 -
4:22:48
Pepkilla
18 hours agoWarzone Ranked Road to 250 ~ HaLLLLPPPPP
122K5 -
2:14:38
SLS - Street League Skateboarding
9 days ago2024 SLS Super Crown São Paulo: Men's Prelims
244K41 -
1:11:07
PMG
1 day ago $17.86 earned"Alarming Parallels of Modern America and the Roman Empire | Jeremy Ryan Slate"
100K53 -
46:39
Stephen Gardner
20 hours ago🔥FINALLY! Trump BLACKMAIL scheme EXPOSED | 'Ukraine will be DESTROYED' worries US Pentagon!
148K247 -
50:15
X22 Report
21 hours agoDevin Nunes - Truth Social Gets An Upgrade, We Will Celebrate The Destruction Of The [DS] With Wine
290K305