Thank you for purchasing our extension. If you have any questions that are beyond the scope of this document, please feel free to contact us, we will be happy to assist.
Created: 30th March 2020 | By: Magenest | Email: [email protected] | Support Portal:
Introduction
Module Migration overview | Magento 2 Developer Documentation is built on the basis of a Magento module, used to migrate data from Magento 1 to Magento 2. To use Magento module, you have to configure by directly editing the file, making it difficult towel and inconvenience for users. This module is used to completely replace the configuration of the Magento Data Migration Tool module Migration overview | Magento 2 Developer Documentation by configuring directly on the backend user interface.
Configuration
1. General configuration
After installing Magenest Magento Migration Tool on your system, setup Magento upgrade by run the following command:
php bin/magento module:enable Magenest_MigrationTool
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
2. Setup migration
On Magento back-end, go to System > Data Migration > Setup Wizard to setup for the migration.
On Setup page, there are two migration logs.
- Migration General Log: This is the log of Magento migration tool. It contains the records of migration time, migration process, errors on checking data between Magento 1 and Magento 2 that you can view during the process.
- Migration Debug Log: This is the log of Magenest Migration Tool. It contains the records of errors occur on migrating data process, when the database is overloaded or Magento 1 data is not defined.
Reload: Refresh the log.
Auto Reload (5s): Refresh the log in every 5 seconds. After this option is enable, it will disable the Reload option and show the Disable Auto Reload button.
Disable Auto Reload: Disable the Auto Relosd (5s) option.
Clean: Delete the current log.
Download: Download the log-report file.
Click on Setup button to open the wizard setup.
1 Readiness Check
Check the Magento cronjob to make sure that is is disable. In case the cron-job is enable, you can disable it by following one of the methods below:
- Run the command
php bin/magento cron:remove
- Login to Magento server via SSH Terminal, run the command crontab -e. Remember to add the character # at the beginning of each line.
- Login to Magento server via SSH Terminal, run the command crontab -e. Remember to add the character # at the beginning of each line.
Check the Magento migration tool to make sure that it is available.
- To install the Magento Migration Tool, follow here to get the credentials from Magento Marketplace.
- Then fill the username and password and click on Install. The Magento Data Migration Tool will be installed with the selected version compatible with your current Magento version.
- Follow the instruction shown on the back-end to activate the Magento tool.
- Then click on Start Readiness Check button, when the information is appropriated, click on the Next button the top right to move to the next step.
2 Magento 1 Database Connection
Fill in the fields with the correct information to connect Magento 2 with your Magento 1.
Click on the Next button to move to the last step.
- Select the correct version and edition of the current Magento 1.
- Click on Finish button.
3. Media settings
On the admin side bar, go to System > Advance Configuration.
Set the Migration Settings, Migration Data and Migration Delta for Magento migration tool.
- The default values in each field are the best practices that Magento suggests for the migration process.
[-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.
- The default values in each field are the best practices that Magento suggests for the migration process.
4. Process the data migration
After setting the configuration for wizard setup and advance configuration, you can process the data migration by running the command
php bin/mageno migrate:all
It will process the following commands of Magento tool at once:
Settings
Data
Delta
Note: Use the configuration set previously.