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.
-
1:54:17
Kim Iversen
12 hours agoFired from 'Rising'! Briahna Joy Gray Gives Behind-the-Scenes Revelations and Opens Up About Her Departure
50K178 -
2:37:09
Roseanne Barr
11 hours agoIs Trump running a clandestine military operation? | The Roseanne Barr Podcast #52
102K409 -
23:16
Alexis Wilkins
13 hours agoBETWEEN THE HEADLINES WITH ALEXIS WILKINS: UKRAINE HIT LIST, HOUTHIS, AG GARLAND, HUNTER BIDEN TRIAL
34K15 -
33:10
The Nima Yamini Show
9 hours agoAlpha King Nima Exposes All on H3 Podcast!
42.8K9 -
27:12
DepressedGinger
1 day ago $0.05 earnedALL 50 US States Election Predictions right now!
48.7K20 -
40:51
Candace Owens
12 hours agoAnother Person Fired For Criticizing Israel?! | Candace Ep. 5
39K120 -
LIVE
Right Side Broadcasting Network
5 days agoLIVE REPLAY: President Trump Celebrates His Birthday at Club 47 - 6/14/24
2,882 watching -
49:57
The StoneZONE with Roger Stone
10 hours agoOwen Shroyer & Roger Stone Together For What Could Be The Last Time On Infowars | The StoneZONE
52.9K20 -
1:05:07
Edge of Wonder
14 hours agoJesus’ Childhood Revealed in Manuscript & Britney Spears Mandela Effect
60.4K47 -
1:52:18
2 MIKES LIVE
12 hours ago2 MIKES LIVE #78 OPEN MIKE FRIDAY!
63.7K9