Welcome to Migrating from Magento 1 to Magento 2.
Episode 6 Part 1.
My name is Brent Peterson.
I'm a Magento Architect and Evangelist
with Wagento Creative.
Today, we're going to go over the Magento Migration Tool.
Here's where we'll be starting from.
We'll be using Magento 2.3 and migrating for Magento 1.9.
The Migration Tool documentation
lists all the steps needed in this video
and shows you how to set up, migrate and extend the tool.
We'll be starting with Magento 1.9
that has been populated with Magento sample data.
We will want to install a completely clean version
of Magento 2.3,
on a server, or in this case on our local environment.
I'm showing you the basic steps for this installation.
We will not want to install any data
or any extra data in your local setup.
The setup will cover all the items needed
for your Magento 2 installation,
as well as any external modules that are listed.
Here I'm just giving the basic modules.
We'll want to create a user in your Magento 2 instance.
The users from your Magento 1 instance
will not be moved to your Magento 2 instance.
So it's important that you have a completely clean version
installed on your Magento 2 instance.
Once your Magento 2 instance,
you can log in, review the homepage.
You'll see that it's clean.
We can log into the backend,
review the backend site,
and see that it's a completely clean install
with no products and no orders.
To start your migration, we'll want to make sure
we have our data ports open from Magento 1 to Magento 2.
In your real life production environment
you are probably using two different servers.
I'm going to just show you an example
of which port you need to be opened,
and creating a temporary security group
in your environment
to allow for data to be passed back and forth.
Every firewall may be different.
And this is a firewall example only from Amazon.
If you're doing this on your local environment,
you will not have to complete this step.
Your environment will need port 3306 open.
You'll want to specify
your from and to IP addresses for security.
I would highly recommend you not leave 3306 open
to the entire world, but lock it down by an IP address.
Once you have this port open,
you'll be able to easily migrate your data
between your two environments.
Again, if you're doing this in your local,
you won't have to do this.
Your next step will be to stop
all the activity in Magento 1.
You'll want to do this on your live site first.
Do not log into it.
It's always best to make a full backup
of your current live site
and do this in a testing environment.
You'll want to do this a number of times before you go live
then you'll want to make sure you've stopped
all activity in Magento 1 Admin Panel.
Here, I'm giving an example of our Magento 1 store
that we first looked at.
On the left is our code from the server.
And all we're going to do is enable
the maintenance flag from Magento 1.
This will stop anybody from accessing your Magento 1 store.
Of course you can make a more pretty maintenance flag.
In addition to that, you'll want to stop any activity
in the Magento 2 store and stop all your cron jobs.
During the migration process,
you do not want to make any changes in your Magento 1 Admin
except for your order management, shipping,
creating invoices, et cetera.
You do not want to alter any code.
And you do not want to make any changes
in your Magento 2 Admin storefront.
Here, I'm going to start my migration of my settings.
On the right, you'll notice that we have our clean install
of Magento 2.
There is just one store view that you can see.
We'll start by doing bin/magento migrate: settings.
We'll use the a and the r tag, which is auto and reset.
And then we're going to reference our config file
that we've set up earlier.
As you can see, the process completes fairly quickly.
And now we have a Magento 2 store
that will need to have cache cleared.
Don't worry when you don't see your changes
immediately on your Magento 2 store.
Remembered to keep calm, clear your cache.
After you've cleared your cache,
You'll notice that your new store views
will show up on your Magento 2 store.
As you dig in even further,
you'll notice all your settings
have been migrated from Magento 1 to Magento 2.
It's important to note that your users
will not be migrated from Magento 1 to Magento 2.
Thank you for watching this video.
Next time, we're going to migrate our data
in Episode 6 Part 2.