...
- Download & setup both the D7 and the D8 sites
- Enable the migrate, migrate tools, migrate upgrade & migrate plus modules in the D8 site
In the D8 site run this
Code Block drush migrate-upgrade --legacy-db-url=mysql://drupal:drupal@localhost/D7SITE_drupalvm --legacy-root=http://D7SITE.dvm --configure-only drush migrate-status
- You will see a list of all the items queued for migration. You can either migrate them all or pick and chose.
You can migrate all of the items with:
Code Block drush migrate-import --all
OR you can be more granular and migrate only certain items:
Code Block drush migrate-import {migration name} i.e. drush migrate-import upgrade_d7_menu drush migrate-import upgrade_d7_node_news
- NOTE: it will tell you what other items you need to migrate with that singular migration peice when you try to import it.
Custom Migrations
Use this option if you need to be more granular in your migration. You can also use this to change the names of items, etc. There are a lot of great resources out there on how to do super duper custom configs. This is just a simple example.
Drupal VM
- Download & setup both the D7 and the D8 sites