How to Migrate from Magento 1 to Magento 2 Website

How to Migrate from Magento 1 to Magento 2 Website

“In a span of one year, approximately 48,000 more Magento sites were published from March 2016 to February 2017.”

“Magento powers 16% of top 1 million websites.”

We’ll take a

  • fast paced
  • to the point and
  • essential only lookup

of the steps required to upgrade Magento

The migration process includes lots of possible aspects. The most common components are

  • Themes
  • Extensions
  • Data and Custom features

For big and highly customized e-commerce store, procedure can take up to several hours or even few days.

There are already tens of articles written on how to upgrade Magento version. If you are seeking comprehensive guide that serves eCommerce store migration of custom settings as well, I request you to take a look at first source site

In this text, typical upgradation is depicted. You don’t need to keep site offline for entire time. However, during copy of database, offline is must. Unfortunately, importing of content of database into Magento 2.0 goes slowly and eats up maximum of process time.

Before starting out, make sure

1. That you have Magento 2.0 installed on your machine without sample data in it. If you have not yet, download and install it from

2. That you have migration tool available at your disposal, download it from It is important that migration tool should also be of version 2.x or later

Migration Steps

1. In Magento 2.0 setup, run the following commands
composer config git
composer require magento/data-migration-tool:2.0.0
2. Configure right/preferred time zone and currencies in Magento 2.0

Installation before initialization of actual migration process.
Magento Web Development Services

3. When above steps are completed, test that migration tool is properly installed and that it is nicely working by entering following command:
php bin/magento migrate:data –help
4. The next thing is creation of the configuration files for this migration tool.

They reside inside


If you are upgrading from Magento 1.9 installation, run the following cp command:

cp –R
5. Once copied, navigate to configuration file of migration tool. That is, open the

vendor/magento/data-migration-tool/etc/ce-to-ce/<your-company>-migration/config.xml.dist file.

In this file, search for the source/database and destination/database tags
Change the values of these database settings to match yours.

<database host=”localhost” name=”magento1″ user=”root”/>
<database host=”localhost” name=”magento2_migration” user=”root”/>
6. Rename the file config.xml.dist to config.xml
7. By now, migration tool i.e. Magento console command is ready and it will migrate all the parts from a Magento 1 shop under the hoods.
8. If above steps are correctly executed, you can launch tool by
php bin/magento migrate:data –help

Write below command and press enter
php bin/magento migrate:data vendor/magento/data-migration-tool/etc/ceto-ce/your-path-migration/config.xml

Magento Upgrade Services

9. By the time it shall get completed.

Now if you check your database for the Magento 2 website, you will see that the data (products, categories, and so on) are available.

If you think something has gone out of the eyes and so you want to rerun migration, simply remove var/migration-tool-progress.lock file and re-enter above command.

10. Go to the back-end and see things like
  • The orders (Sales | Orders)
  • The products (Products | Catalog)
  • The customers (Customers | All Customers)

Magento Store Migration Services

11. With the migration tool, we can only migrate data and settings.

The code of Magento 1 modules will not be available in Magento 2. Therefore, you will have to look over Magento 1 website for custom code snippets you added on top of framework, and then copy-paste-test them in Magento 2 shop.

However, as I aforementioned, points above would NOT suffice to migrate to magento 2 in fullest.

If you want to handle entire process yourself but only need advice to resolve complex issues, Viha Digital Commerce provides that type of reduce Magento 2 upgrade services

Our support-based Magento upgrade service allows you to work in conjunction with Viha Digital Commerce Certified Magento consultant.

Call us on +91 7096620202 to migrate magento website right now.


  1. One can upgrade magento 2 using the two basic methods, one is from admin panel and other is using composer.

  2. Very nice post. I just stumbled upon your weblog and wanted
    to say that I’ve truly enjoyed surfing around your blog posts.
    After all I’ll be subscribing to your feed and I hope you write again very soon!

Comments are closed.