Three Methods Comparison To Move Magento 1 To Magento 2

By LitExtension

LitExtension
15 min readMay 11, 2020

Magento is constantly evolving everyday, offering more and more robust versions of which tools and scalable cloud technologies have enabled thousands of retailers and brands to grow and expand radically.

As the termination of Magento 1 is near, there is a surge of online merchants leaving Magento 1 in favor of Magento 2 for the sake of remaining on top of the competition with a wide set of innovative features. And that’s when the demand for shopping cart data migration from Magento 1 to Magento 2 is higher than ever. Among various instructions floating all over the Internet, what is the best way to move Magento 1 to Magento 2?

To answer that question, today we have decided to delve into the analysis of several methods that you can use to migrate your store from Magento 1 to Magento 2.

How Many Ways Store Owners Can Use To Migrate Their Store?

At the moment, online merchants have three options to migrate their store from Magento 1 to Magento 2:

  • Migrating manually with Magento Data Migration Tool.
  • Hiring a developer or a team of Magento specialists to perform the task
  • Using an automated migration service.

Store owners mostly perform manual migration from Magento 1 to Magento 2 themselves by putting Magento Data Migration Tool into use. Web agency/freelancers are, too, applying this method to perform migration tasks. Store owners usually turn to developers when the process gets messy and technical support is needed.

So, speaking on a broad spectrum of data migration, there are mainly two methods to perform the process: using Magento Migration Tool or Automated Shopping Cart Migration Tool. Therefore, this article will step-by-step detail the way these two tools work. By putting them into comparison, we will figure out the best way to move Magento 1 to Magento 2.

How To Migrate From Magento 1 to Magento 2 with Magento Data Migration Tool

1. Overview

According to Magento DevDocs:”Data Migration Tool is a command-line interface (CLI) used for transferring data from Magento 1 to Magento 2. The Tool verifies consistency between Magento 1 and 2 database structures (tables and fields), tracks the data transfer progress, creates logs, and runs data verification tests.”

2. Mode

The tool operates in three modes:

  1. Settings: migrates configuration settings
  2. Data: bulk migrates main data in the database
  3. Delta: transfers incremental data updates added to Magento 1 storefront and Admin Panel while running previous migration mode.

3. Pre-Migration Requirements

Before we jump into the detailed process to find out the best way to move Magento 1 to Magento 2, let me draft an overview of what steps you’re exactly going to take, as well as some requirements needed for the process.

Generally, to use Magento Migration Tool, you need to equip yourself with a high level of technical knowledge. If you are not confident in performing complicated technical tasks, I strongly recommend you skip to the automated shopping cart migration tool.

per-migration requirements
Pre-Migration Requirements

4. Detailed Steps and Frequently-Faced Errors

Step 1: Install Data Migration Tool

1.1 Install Data Migration Tool

To install the Data Migration Tool, you must update composer.json in the Magento root installation directory to provide the location of the Data Migration Tool package. We will install this tool via Github as an example.

Composer Config Repositories/Data-Migration-tool
Composer Config Repositories/data-migration-tool
composer require magento/data-migration-tool
Composer Require Magento/data-migration-tool

1.2. Check version of installed Data Migration Tool

Follow these steps:

  • Change to your Data Migration Tool directory:
<vendor>/magento/data-migration-tool.
  • Open composer.json
  • The version entry in that file is the version of the Data Migration Tool.

Due to different demands of the package, different Magento versions require different PHP versions. For example, to use Magento version 2.3.4, the PHP version 7.3 is required. This may cause some troubles for store owners. You can look at one of the problems that may arise at Magento Community.

Step 2: Configure migration

2.1. Backup target store’s database

Follow the command:

mysqldump -uadmin  -p databasename target> databasename target.sql
backup target store’s database
Backup Target Store’s Database

2.2. Configure migration

Before you migrate any data, you must create a config.xml configuration file from the provided sample.

There are two possible ways to configure the Data Migration Tool for migration:

  • Configure migration in a separate module
  • Configure migration in vendor folder

We will instruct you to configure migration in a vendor folder as an example:

  1. Log in or switch to your Magento server as the Magento file system owner.

2. Change to the following directory:

<your Magento 2 install dir>/vendor/magento/data-migration-tool/etc/<migration edition>/<ce or version>

3. Enter the following command to create a config.xml from the provided sample:

cp config.xml.dist config.xml

4. Open config.xml in a text editor.

5. The config.xml file must contain access details to M1 and M2 databases and encryption keys.

config.xml file
config.xml file
Access Details to Magento 1 and Magento 2 Database
Access Details to Magento 1 and Magento 2 Database

Optional parameters:

  • Database user password: password=<password>
  • Database custom port: port=<port>
  • Table prefix: <source_prefix>, <dest_prefix>

For example, if your database owner’s username is root with password pass and you use the prefix magento1 in your Magento 1 database, use the following in config.xml:

config.xml file
config.xml file

When finished, save your changes to config.xml and exit the text editor.

Step 3: Migrate using Data Migration Tool

3.1. Migrate settings

To start migrating settings, run:

bin/magento migrate:settings [-r|--reset] {<path to config.xml>}

where:

  • [-r| — reset] is an optional argument that starts migration from the beginning. You can use this argument for testing migration.
  • {<path to config.xml>} is the absolute file system path to the migration tool’s xml file; this argument is required.

The migration completed message is displayed after the settings are transferred successfully.

Migration Completed Message
Migration Completed Message

3.2. Migrate data

To start migrating data, run:

bin/magento migrate:data [-r|--reset] [-a|--auto] {<path to config.xml>}

where:

  • [-a| — auto] is an optional argument that prevents migration from stopping when it encounters integrity check errors.
  • [-r| — reset] is an optional argument that starts migration from the beginning. You can use this argument for testing migration.
  • {<path to config.xml>} is the absolute file system path to config.xml; this argument is required

Frequently-Faced Errors

After testing this tool, we have come up with several errors (within tons of other errors) that you are likely to encounter when migrating data with this tool.

Error 1: MySQL Error 153 — Got a packet bigger than ‘max_allowed_packet’ bytes

This normally occurs when MySQL is running with default settings. Many Magento store owners have been encountering this. You can look into the error at Magento Stack Exchange.

Error 2: Integrity constraint violation

Integrity Constraint Violation
Integrity Constraint Violation

Cause: This happens when you re-try a migration (e.g: because the first attempt failed). Therefore, the key in the table eav_attribute_set is duplicated.

Solution: Delete the table eav_attribute_set

Error 3: Undefined offset

Undefined Offset
Undefined Offset

Cause: This happens because attribute_set_id in eav_attribute_group is duplicated.

Solution: Delete the database in two tables: eav_attribute_group and eav_attribute_set.

Error 4: Undefined offset due to missed keys

Undefined Offset Due to Missed Keys
Undefined Offset Due to Missed Keys

Cause: This error pops up because table eav_attribute has been deleted then reimported. However, during the way, few keys were missed out.

Solution: Start over the whole process from the beginning.

3.3. Migrate changes

To run recent data, run the command line

bin/magento migrate:delta [-r|--reset] {<path to config.xml>}

After running the following command line, we have encountered an unstoppable circle of data processing over and over.

An Unstoppable Circle of Data Processing
An Unstoppable Circle of Data Processing

Step 4: Post-migration checkup

Since using the Magento Migration Tool is accompanied by a lot of errors, there’s obviously that your data is going to be missed out along the way. Below, we will point out some problems you might face when you have struggled to finish the migration.

Error 1: Exception printing

Exception Printing Error
Exception Printing Error

Cause: It is a common error. You may face this error while installing a Magento 2 theme or module or anything goes wrong with cache folder.

The conflict between components like extensions or themes causes the “exception printing is disabled by default for security reasons” error in Magento 2.

Due to which, the Magento 2 cannot operate properly

Solution: Check local.xml file reflects username and password created in MySQL admin. This may change, especially if the software updates etc.

Error 2: Data integrity

  • Product images are missed
Product Images Are Cut Off
Product Images Are Cut Off

After migration is finished, products images don’t show up in the target store, which means they must be dropped off along the way.

  • Customers are not transferred to target store

This is a very serious problem. Losing all your customers’ data after a platform switch can give you a hard time when the bond between you and your customers is broken.

Customer Table In Source Store
Customer Table In Source Store
Customer Table In Target Store
Customer Table In Target Store

What’s to conclude?

With all the aforementioned disadvantages, we can argue that Magento Data Migration Tool is not an ideal choice to move Magento 1 to Magento 2 due to highly technical demand and constant errors. If you want your data transfer to be smooth and error-free, we suggest you try an automated shopping cart migration service about which we’re going to discuss right below.

How To Migrate From Magento 1 To Magento 2 With Automated Shopping Cart Migration Tool

1. Overview

Automated shopping cart migration service is the most advanced method. It helps transfer product, customer, order, other data and information from one shopping cart to another automatically, accurately and securely.

Among several data migration services in the market, LitExtension is ranked number one. Not only can we migrate products, orders, customers but also multistore, CMS pages and so on. Especially, LitExtension provides additional options that allow you to expand the migration possibility, such as customer password, SEO URLs migration,… For the full information about what we can do, please see in our Magento 2 Upgrade service.

Currently, LitExtension supports more than 85 shopping carts on the market. Over 8 years, LitExtension has performed 130.000+ successful migrations. And the number is still constantly growing!

With 98% of user satisfaction according to FinancesOnline and trustscore of 4.8 out 5 on TrustPilot, LitExtension can confidently say that we are the most trustworthy and quality-proven shopping cart migration expert in the field.

Feedback Upon Migration From Magento 1 to Magento 2 with LitExtension on TrustPilot
Feedback Upon Migration From Magento 1 to Magento 2 with LitExtension on TrustPilot

Besides, we have also received a lot of other positive feedbacks from customers already enjoying our service. See more at “What Customers Say About Us”!

Now, don’t wait any longer, let’s move on to how to migrate from Magento 1 to Magento 2 with LitExtension.

2. Mode

LitExtension tool operates in two modes:

  1. Migrate data and settings
  2. Migrate incremental and updated data

3. Pre-migration requirements

Let’s review some steps our tool will involve accordingly, as well as the alongside requirements.

Pre-Migration Requirements
Pre-Migration Requirements

Detailed Steps And Frequently-Faced Errors

Step 1: Set up your source and target store

1.1 Access LitExtension and register/log in

Login to LitExtension

1.2 Enter Magento source store information

On the Migration Page, click Create New Migration at the top right button on the screen. Choose Magento as your source cart and fill in its URL in the corresponding field. Then, click LitExtension Connector to download the connector. This connector will set up a connection to your old store. Unzip it and upload to Magento 1’s root folder.

Source Cart Setup

Right here, the Connector Installation will be automatically checked and informed on the screen without manual checking.

1.3. Enter Magento target store information

Repeat the same setting procedure of the target store. Download LitExtension Connector, extract the zip file and upload the connector to Target Store’s root folder.

Target Cart Setup

Frequently-faced error

At this step, you may encounter some connector setup issues regarding permission but that’s alright, we’ve summed them up and provided solutions alongside. Besides, a helpful support team already awaits there for your needs. See how the problems are resolved here!

Step 2: Select entities you want to migrate

You can either choose all your data or only choose the necessary ones.

Choose entities you want to migrate
Additional Options

If desired, at this stage, you can select additional options that will help to extend the data import functionality. LitExtension has developed the features to help you solve important problems following migration. For instance, to minimize the SEO effect after switching, you can create 301 redirects to your target store.

In addition, you are able to map order statuses and customer groups in this phase. Choose necessary descriptions and every data will be migrated respectively.

Language Mapping

Step 3: Perform data migration from Magento to Magento

You can try demo first or run full Magento 1 to Magento 2 migration imediately.

  • To Try Demo: Start your demo migration with a limited number of entities. You will see the same actions as the actual migration.
  • To Perform Full Migration: Please click the “Skip Demo Migration” button to perform full migration immediately. Our tool will display a report showing the number of entities you have selected to migrate after demo migration.
Full Migration is running

Step 4: Post-Migration Checkup

An email will be sent to you by LitExtension system after complete migration. Simply head to your Target Store to check the result.

Result At Backend
Result At Backend

In order for the data to show on the frontend, you need to run command line (login with SSH) to resize images, reindex and clear cache as follows:

bin/magento catalog:images:resize

php bin/magento cache:clean

php bin/magento cache:flush

php bin/magento indexer:reindex

Note: Out-of-stock products are disabled on Magento store by default. This means they will not be shown on the frontend and not visible to your customers. To display these products, you need to follow these steps:

  • Go to System > Configuration > Catalog > Inventory > Stock options > Choose “Yes” in Display Out of Stock Products and click “Save config”

Step 5: Migrate incremental and updated data

Your data transfer with LitExtension has just been completed and you’re going to set up the new store for some time. You’ll be dealing with design customization, discovering the new admin panel or digging into new SEO features. In the meantime, your old store still stays active and keeps receiving new entities or you can make updates on your old store. Therefore, it’s certainly important to transfer all the new entities and updates to the target store in order to keep it up-to-date.

LitExtension offers you 3 options that can address this concern

  1. Recent Data Migration: This function enables you to automatically transfer all the new data that appear in your source store after the complete platform switch.
  2. Re-Migration: This option helps you to transfer everything all over again including data that has been transferred before, data that newly appear in your source store and data that has been updated
  3. Smart Update: It updates data which has been modified in your Source store after the migration. At the same time, any new data in your old store will be migrated to your new one. This option can solve the problem better and quicker than a re-migration.

All these 3 options are free and you can use them for unlimited times under these conditions:

  • You have performed full migration with LitExtension within 3 months before.
  • The total additional entities is less than 10% the total number of entities in initial migration.

Above, we’ve walked you through the process of migrating data from Magento 1 to Magento 2 with LitExtension. However, we also conducted a more comprehensive guide on how to upgrade Magento 2. This guide covers all the things needed for the upgrade including how to set up a brand new Magento 2 store, how to back up data, how to migrate extension and so on. Check it out, it’s super helpful!

The Final Verdict

Let’s have a quick recap of which data migration tool is better through our comparison. Then you can decide which tool is the best way to move Magento 1 to Magento 2.

Ease of use:

  • Magento migration tool: Must have a high level of technical knowledge to solve errors. For example, fix code, backup, repair missing or corrupted databases.
  • LitExtension: the tool is user-friendly and step-by-step instructions are well-constructed.

→ Winner: LitExtension

Cost

  • Magento migration tool: Cost nothing but time for DIYers.If store owners hire web developers to perform the task, the cost fluctuates at $50-$80/hour. The total price for the whole process usually ranges from $500-$2500. However, if you face unpredictable results and the data are corrupted because of some 3rd party module/app, the transfer is restarted. → Higher cost
  • LitExtension: Depends solely on the number of entities you are planning to transfer. Price starts from $59. You can estimate the price and time you need for your migration with LitExtension pricing tool. Migration with LitExtension can save your budget up to 88% in comparison with migration with freelancer/dev agency.

Winner: LitExtension

Transfer-related risk

  • Magento migration tool: Risk involves the data losses (product images and customers’ absence in the target store is an example).
  • LitExtension: Can guarantee 0% data loss during your migration with our advanced technology and excellent customer support team.

Winner: LitExtension

Support over the process

  • Magento migration tool: DIYers shall have no support, but if you hire 3rd party, then support is available.
  • LitExtension: In case of any questions or special requests, there is a highly qualified and accessible support team that is always ready for you 24/7 via ticket, phone, live chat, or email.

Winner: LitExtension

Supported Versions

  • Magento migration tool: Magento Open Source version 1.6.x, 1.7.x, 1.8.x, 1.9.xMagento Commerce version 1.11.x, 1.12.x, 1.13.x, 1.14.x. If you migrate from Magento Open Source to Magento Commerce, the following versions are supported: 1.6.x, 1.7.x, 1.8.x, 1.9.x. The supported Magento 2 version ONLY ranges from 2.2.3 to 2.3.4
  • LitExtension: All versions LitExtension

→ Winner: LitExtension

Migration Tracking

  • Magento migration tool: You can’t keep track of what’s happening with your data, as well as can’t have control over the process.
  • LitExtension: Migration process is performed by the LitExtension tool; however, you can monitor every step through the migration interface. There are buttons to stop and continue the migration at any time. The full migration process is cloud-based, which means out tool automatically runs in the background amid the internet or browser connection. You can even turn off your PC, have a cup of coffee and we will send you an email once the process is complete.

Winner: LitExtension

Demo migration

  • Magento migration tool: You can’t preview the process, which leads to a sense of uncertainty of the result that the tool brings.
  • LitExtension: Gives you the opportunity to preview the service before kicking off the full migration. You can transfer limited entities with our free demo and see the effectiveness and accuracy of the process yourself.

Winner: LitExtension

Compared to Magento Data Migration Tool, an automated shopping cart migration like LitExtension can easily surpass with a number of superior features. In short, some notable advantages worth being mentioned here are:

  • No programming or software skills needed
  • Top-notch data migration quality
  • Widest array of transferable entities
  • 100% current store uptime
  • FREE Demo migration
  • 24/7 tech support and assistance
  • Flexible pricing strategy
  • Absolute data security

Video Tutorial

This video will step-by-step guide you through each migration process performed by Magento Migration Tool and LitExtension Migration Tool. If you want to preview how each tool deals with your data in detail, don’t skip this video!

Conclusion

The demand for migration from Magento 1 to Magento 2 is booming, which is a fact we cannot deny. Among migration services in the market, entrepreneurs may find it difficult to identify the migration solution that would suit both business requirements and budgets.

Fortunately, LitExtension offers a powerful automated migration tool that supports smooth migration not only from Magento 1 to Magento 2, but also all across various types among shopping carts. Because of all these above robust and innovative features, LitExtension has been the best pick for almost every business that is looking forward to switching to any eCommerce stores.

We hope that the above-mentioned analysis will help you to be in the know, allowing you to make deliberate decisions in finding the best way to move Magento 1 to Magento 2. Should you happen to have any questions or opinions regarding our migration from Magento 1 to Magento 2 service, we have a wonderful support team for your needs. Click here to contact them!

Thanks for reading! Happy migration!

--

--

LitExtension

Our Automated Shopping Cart Migration Service helps you move your online store to a better e-commerce platform with ease. Learn more at https://litextension.com