Ultimate Guide: How to Migrate Drupal 7 To Drupal 8
May 2019 | by Jayesh
Drupal 8 provides support for D7 to D8 migrations. Since there is no direct upgrade path for Drupal 7 to Drupal 8, you should become familiar with the migration system in Drupal. You can migrate content & configuration from Drupal 7 to Drupal 8.
In this article we will share two (2) different ways to migrate from Drupal 7 site to Drupal 8
1 . Migration through Drupal Configuration
2. Migration Using Drush Command & Composer
1) Migration through Drupal Configuration
Steps to Migrate Drupal 7 To Drupal 8 Using Site Configuration of Drupal
Migrate: – Migrate module provides a flexible framework for Drupal 7 to Drupal 8 content migration
Migrate Drupal: – Migrate Drupal module provides the capabilities for importing content from Drupal 7 to Drupal 8
Migrate Drupal UI:- This module provides below mention characteristics
1) Show a list of migrations that can be filtered by migration tags
2) Create new migrations from scratch
3) Edit and delete existing migrations.
4) Configure advanced process pipelines, E.g. configures the process plugins for each field.
5) Build migration templates into migration config entities.
Please refer to the below screenshot for more details
Once the Migrate module is enabled, you need to navigate to the upgrade path. Further steps will be available on the upgrade path to proceed. So, read and follow the migration steps carefully. Then press the continue button and open the migration screen. Please refer to the image below.
Step 5 – Make Sure That Access To The Database Of Drupal 7 Is Available From Drupal 8 Site
Before performing the migration, you must check that you have full access to your Drupal 7 database and private files that you want to migrate to the Drupal 8 website.
Step 6 – If The Old Site Has Private Files, Copy Its File’s Directory And That Must Also Be Accessible On The Host Of Drupal 8 Site
You must enable the permission in your drupal7 private files that can be accessible in drupal8 sites.
Step 7 – Enable All Modules On Drupal 8 Site That Are Enabled On Drupal 7 Site.
For example, if the old site uses the mark-up module, then enable the mark-up module on the new site so the existing data can be imported easily.
Step 8 – Do Not Add New Content To The New Site Before Migration. Any Existing Content Will Be Overwritten In The Migration Process.
Please make sure that you don’t add any new content before migrating the database. You can always add the content after the successful migration to the new version
Step 9 – Put Drupal 8 Site Into Maintenance Mode
Step 10 – Continue The Upgrade Process
Once you click perform upgrade button it will start migrating from Drupal 7 to Drupal 8.
Step 11 – Start The Migration
The migration process will take some time, depending on the size of the website. In case of errors, just reload the web page.
Once it is completed successfully you will be able to see the below screen.
This process is very simple and can be done easily with some technical knowledge by using Drupal modules & configurations.
We hope the information gives you a complete idea of how to Migrate your Drupal 7 site in Drupal 8.
If you get any issue while migrating, you can contact us anytime.
If you get any issue while migrating, you can contact us anytime. Our expert Drupal developers can help you to migrate your website quickly. cmsMinds is headquartered in RTP and worked on many Drupal Development & Drupal migration projects. If you need help migrating or upgrading your website, then drop an email on email@example.com to schedule a free initial consultation with one of our Drupal experts.