19
MAGENTO 2 Data Migration Tool

Magento 2 Migration tool - UberTheme

Embed Size (px)

Citation preview

Page 1: Magento 2 Migration tool - UberTheme

MAGENTO 2 Data Migration Tool

Page 2: Magento 2 Migration tool - UberTheme

Key changes in the database structures.

Page 3: Magento 2 Migration tool - UberTheme

Table Names Change

Page 4: Magento 2 Migration tool - UberTheme

Change of Attributes

Page 5: Magento 2 Migration tool - UberTheme

UberTheme’s Plan for Magento 2 Migrator

Page 6: Magento 2 Migration tool - UberTheme

The tool will help migrate

Page 7: Magento 2 Migration tool - UberTheme

Step1: Install Magento 2

• Download the latest version of Magento2 from Github

• Follow our Installation guide to Install Magento 2

Page 8: Magento 2 Migration tool - UberTheme

Step2: Configure the tool

• Create folder migrate_data_tool at root. • Clone all source of Magento 2 Data Migration Tool to

the folder you created.

Page 9: Magento 2 Migration tool - UberTheme

Create a folder ‘assets’ in the folder path PATH_TO_YOUR_WEB_ROOT_FOLDER\migrate-

data-tool\

Page 10: Magento 2 Migration tool - UberTheme

Create folder ‘runtime’ in the folder path PATH_TO_YOUR_WEB_ROOT_FOLDER\migrate-

data-tool\protected\ and make it writeable for ‘assets’ and ‘runtime’ folders.

Page 11: Magento 2 Migration tool - UberTheme

Create a database called ub_migrate_data then import the file SQL in PATH_TO_YOUR_WEB_ROOT_FOLDER\migrate-data-tool\protected\data\ub_tool.sql to this Database.

Create a database for our Magento data migration

Page 12: Magento 2 Migration tool - UberTheme

• Open PATH_TO_YOUR_WEB_ROOT_FOLDER\migrate-data-tool\protected\config\config.php

• Find comment text “//Database of tool” and put the Database information which you have just created in the above step.

• Focus on these params: host, dbname, username, password, etc.

Page 13: Magento 2 Migration tool - UberTheme

Configure the Database information of your website with Magento 1: • Open PATH_TO_YOUR_WEB_ROOT_FOLDER\migrate-

data-tool\protected\config\config.php • Navigate to “//Database of Magento1″ and put the

correct Database information of Magento 1 website as the above step.

Page 14: Magento 2 Migration tool - UberTheme

Configure the Database information of your website with Magento2: • Open PATH_TO_YOUR_WEB_ROOT_FOLDER\migrate-

data-tool\protected\config\config.php • Navigate to "//Database of Magento2" and put the

correct your Database information of Magento2 website as above step.

Page 15: Magento 2 Migration tool - UberTheme

Step 3: Run this tool in your browser to migrate your data

• Open url to run this tool. • For example: http://localhost/migrate-data-tool/ • Follow step by step to migrate needed Data from

Magento 1 website to Magento2 website.

Page 16: Magento 2 Migration tool - UberTheme

Step 4: Complete the tasks to finish the data migration process.

• Re-save all the Attribute Sets (Product Template) migrated in the back-end of your Magento 2 website. (Open the attribute set, edit it if needed and click the save button)

• Open the command line and go to: PATH_TO_YOUR_WEB_ROOT_FOLDER\your_magento2_folder\dev\shell\

• Type in this command line: php indexer.php reindexall then press enter key to re-index all data in your Magento 2 website.

Page 17: Magento 2 Migration tool - UberTheme

Copy media files to complete migration

• Copy the folder at PATH_TO_YOUR_WEB_ROOT_FOLDER\your_magento1_folder\media\catalog and paste replace to PATH_TO_YOUR_WEB_ROOT_FOLDER\your_magento2_folder\pub\media\

• Copy the folder at PATH_TO_YOUR_WEB_ROOT_FOLDER\your_magento1_folder\media\downloadable and paste replace to PATH_TO_YOUR_WEB_ROOT_FOLDER\your_magento2_folder\pub\media\

Page 18: Magento 2 Migration tool - UberTheme

Step 5: Recheck migrated newly migrated content

from the browser.

Page 19: Magento 2 Migration tool - UberTheme

Download Magento 2 Migration tool

http://ubertheme.com