+91-882437-0003
info@w3ctrl.com
Facebook
Twitter
LinkedIn
YouTube
W3ctrl Services
0
Product was successfully added to your cart

Cart

  • Home
  • About Us
  • Services
    • Web Development
      • Website Development
      • Web and Graphics Design
      • Animation Web Application
      • Facebook & Google API`s
    • CMS Development
      • CMS Development
      • E-commerce Development
      • Software Development
      • Mobile App Development
    • Marketing & Promotion
      • SEO and SMO
    • Our Packages
      • Magento 2 Upgrade & Migration Service
      • Web development
      • Web Hosting
  • Contact Us
  • Blogs
  • Hire us

How to migrate data from Magento 1 to Magento 2 using data migration tool

Ashvini MarwalMagento 2No commentsDecember 1, 2019
How to migrate data from Magento 1 to Magento 2 using data migration tool

migrate magento 2

Magento has shared Magento migration tool to upgrade Magento 1.x to Magento 2.x

You need to migrate your data, extension, themes and your custom code.

Hire Magento 2 Master to Migrate Your Magento Store.

Migration to Magento 2 involves four components: data, extensions, themes, and customizations.

How To Migrate Magento 1 to Magento 2

There is Three way to migrate Magento 1 to Magento 2.

1. Magento Extension

2. UB Theme Migration Tool

3. Magento Migration Tool

I will explain step by step to migrate Magento 2 using all above options

In this article, I will Explain how to migrate Magento 1 to Magento 2 using Magento Migration Tool

Magento released Magento Data Migration Tool on github to migrate default magento 1 data to magento 2.

Steps to Migrate Magento 1 to Magento 2

You need to follow following steps to complete the Successful migration with all your data and functionality.

1. Install Fresh & Latest Magento 2

2. Create a backup of live website of Magento 1

3. Data Migration

4. Extension Migration

5. Custom Code Migration

6. Theme Migration

7. Settings Migration & verification

8. Testing

9. Go Live

Step 1. Install Fresh & Latest Magento 2

You need to install the fresh and latest version of Magento 2.You can download it from git and install it from also composer.

Here is my article to install Magento 2 on your server

You can also follow the Magento installation steps guide

Step 2. Create a backup of live website of Magento 1

Create the backup of database and files of your live website and put it in the safe place.

Step 3. Magento Data Migration Tool

You install the Magento Data Migration Tool from git hub.Go to your Magento root directory and run the follwoing command
composer require magento/data-migration-tool:<version>
composer update

Step 3.1 Configure Magento 2 Data Migration Tool

After the installation is finished, the following directories will contain mapping and configuration files for the Data Migration Tool.

<Magento 2 root dir>/vendor/magento/data-migration-tool/etc/opensource-to-opensource

The above file will contain configuration and scripts for migrating from Magento 1 Open Source platform to Magento 2 Open Source platform.

<Magento 2 root dir>/vendor/magento/data-migration-tool/etc/opensource-to-commerce

The above file will contain configuration and scripts for migrating from Magento 1 Open Source platform to Magento 2 Commerce.

<Magento 2 root dir>/vendor/magento/data-migration-tool/etc/commerce-to-commerce

The above file will contain configuration and scripts for migrating from Magento 1 Commerce to Magento 2 Commerce.

You have to select the relative directory according to your Magento 1 type.If you are migrating data from open source to open source then go to following directory and rename the rename config.xml.dist to config.xml.

Next, open config.xml in your favorite code editor and specify the following:
<source>
<database host="localhost" name="Magento1-DB-name" user="DB-username" password="DB-password"/>
</source>
<destination>
<database host="localhost" name="Magento2-DB-name" user="DB-username" password="DB-password"/>
</destination>
<options>
<crypt_key>Magento1-Encrypted-Key</crypt_key>
</options>

You can find Magento1-Encrypted-Key in your Magento 1 local.xml file.Fill all the mentioned information before start the migration.

Step 3.2 Migrate Settings Using Magento 2 Data Migration Tool

According to the Magento Data Migration Order, you should migrate settings first. To start migrating the settings, navigate to your Magento 2 root directory via SSH terminal and run the following command:

php bin/magento migrate:settings --reset <path to your config.xml>

-a for auto migration while ignoring errors.

Example

bin/magento migrate:setting -r -a vendor/magento/data-migration-tool/etc/opensource-to-opensource/1.9.1.0/config.xml

Step 3.3 Migrate Data Using Magento 2 Data Migration Tool

Data migration from Magento 1 platform to Magento 2 platform includes products, categories, orders, customers, wish lists, ratings, etc. To migrate data, run the following CLI command:

php bin/magento migrate:data --reset <path to your config.xml>

-a for auto migration while ignoring errors.

Example

bin/magento migrate:data -r -a vendor/magento/data-migration-tool/etc/opensource-to-opensource/1.9.1.0/config.xml

 

Once the data migration is complete, you will receive a success message.

Tip: Create 2-3 copy of your fresh Magento 2 database in case if you have any issue during migration you have to start the next try of migration with fresh Magento 2 database.

Ask Questions -Post Your Issue -Get the Answer from Experts.
Tags: data igration, magento, magento 2 extenson, magento help, magento theme, magento2
Ashvini Marwal
Previous post What is Dependency Injection? and How to use it in Magento 2 ?

Related Articles

Magento Logs – Developers First Love

April 22, 2017Ashvini Marwal

It's time to believe on magento 2,Now Start Migrating to Magento 2

December 27, 2017Ashvini Marwal

Solved – allowed memory size of 33554432 bytes exhausted magento

March 25, 2015Ashvini Marwal

Search

Categories

  • Alexa (2)
  • Article List (2)
  • AWS (6)
  • BackLinks (3)
  • Bookmarking List (3)
  • Classified Ad Sites List (1)
  • Coding (2)
  • Cracking (2)
  • Directories (1)
  • Email Hacking (1)
  • Facebook (2)
  • Google Hacking (2)
  • Google News (1)
  • Hacking Tutorials (6)
  • Hardcore Hacking (1)
  • Internet Hacking (2)
  • Javascript Tutorials (1)
  • Linux Hacking (1)
  • Magento (20)
  • Magento 2 (11)
  • Password Recovery (1)
  • PHP Tutorials (3)
  • Programming (8)
  • Proxy (2)
  • Registry Hacking (3)
  • Security (4)
  • SEO (14)
  • Server Hacking (1)
  • Social Marketing (2)
  • SQl Injection (2)
  • Tips And Tricks (11)
  • UNIX (1)
  • Upwork (4)
  • Videos (2)
  • Websit Hosting (1)
  • Website Hacking (6)
  • Windows (1)
  • Wordpress (3)
  • Youtube (1)

Recentt Posts

  • How to migrate data from Magento 1 to Magento 2 using data migration tool
  • What is Dependency Injection? and How to use it in Magento 2 ?
  • Magento Indexing & its Execution
  • Most important magento 2 interview question
  • Magento data migration using Data migration tool – command line

Recent Comments

  • Ashvini Marwal on Magento 2 Delete Orders
  • Ashish Kumar Ranjan on PHP Test 2018 (Top 10%) – Upwork PHP Exam
  • How to Setup Elastic Load Balancer (ELB) with SSL on AWS(Amazon Web Service) | W3ctrl Hacking on How to host your domain on aws ec2 instance hosting
  • ashvinimarwal on How to enable MBstring option on my WHM/CPanel VPS?
  • Subhendu Sekhar Pradhan on How to enable MBstring option on my WHM/CPanel VPS?

Tag Cloud

alexa aws aws hosting backlinks best seo tricks directories facebook-tricks facebook likes fb tricks get likes google google news google tips hacking tutorials how to imarco script learn hacking linux magento magento2 magento 2 magento 2 install magento blog magento customer magento customer address magento extension magento help magento theme magento tutorials seo seo directroy submission seo tips seo tricks setup aws hosting smart seo sql injection tips & tricks tips and tricks top seo directory upwork test video vulnerable websites website hacking website security wordpress

About Us

W3ctrl is all about Software Development and Web Development on a larger perspective and more emphasis is given to Customize Business Software Development and Web Development. We are providing the best E-commerce solution for your business with the latest technology and marketing strategy.

Our Products

  • 100 English Grammar Rules
  • Fruit Health Benefits

w3ctrl magento partner

Our Plans & Offers

  • E-commerce Development
  • CMS Development
  • Mobile App Development
  • Software Development
  • Web and Graphics Design

Contacts

Mayur Vihar Phase 1, New Delhi
+91-882437-0003
info@w3ctrl.com

Follow Us

Facebook
Twitter
Google+
LinkedIn
  • 100 English Grammar Rules
  • Fruit Health Benefits
© 2019 All rights reserved. W3ctrl Services