How to: Drupal 7 Migration

Upgrading a website software version is one of the most complicated procedure a webmaster encounters when managing a website. How to do a Drupal 8 upgrade? Here is a small guide with various details. Let’s start with basic info : Which modules to use? There are a lot of modules, lots of them doing similar or related things. You want to try not to have too many modules, because they each slow things down a little bit, and because you’ll have to maintain them (by installing updates as they are issued). http://drupalmodules.com has reviews. To help you assess the health and life expectancy of a module, look, on the module’s project page, to see how many people are using it (at the bottom of the page). Look at the top right to see how recently people have been committing to maintaining it.

Drupal 8 turned one in the November of 2016. It is about time that the Drupal 7 website owners and administrators should start considering upgrading the websites to Drupal 8. With the Drupal team focused on improving Drupal 8, it is inevitable that Drupal 7 will stop getting official updates in the near future. The great thing about upgrading to Drupal 8 is the remarkably easy process as a result of the inclusion of a few great migration modules in its core. When done with the installation of the modules, you will have to navigate to the upgrade path. For this, go to www.yoursite.com/upgrade (remember to replace yoursite with the name of your Drupal 8 website). You will be brought to the following screen. Please make sure you follow the directions on the screen before proceeding.

Whether you’re updating from Drupal 6 or Drupal 7, or importing data from some other source, you need to know about the migrate system in Drupal 8. This guide provides a comprehensive look at the features of the Drupal 8 migrate API for both Drupal-to-Drupal updates, and migrating from any external datastore into Drupal.

The steps above outline how to get a distribution minimally installed on an existing site. But you’ll still have a lot of work to do to reconcile your existing site content and structure with what has been created by the distribution. Here are a few tips to get you started–but you should begin with the assumption that there will be lots more you’ll discover and need to fix. Most distributions are built using the Features module, which allows exporting configuration from a Drupal site – content types, fields, views, and so on – into code, so that it can be enabled on multiple sites. For components like content types and fields to be exportable, they need to have a “machine name”–a unique name that will be the same on every site they’re enabled on. For example, a date-type field used to store the date of an event might have the machine name field_date.

Update your site to the latest version of Drupal 6 (core and contributed modules). Before upgrading to Drupal 7, disable and uninstall modules you know you won’t be using in the new site. To help determine which modules to uninstall, you could review the list of modules included in the distribution, which often are found in the download in the directory profiles/[distribution_name]/modules. If a given module is not in the distribution and you don’t foresee needing its functionality on your new site, you may choose to uninstall it.

There are several tips and best practices to follow to help you prepare for the upgrade. Still, since this is such a complex process, we highly recommend getting members of your development team involved from the beginning, which will help ensure the upgrade goes as smoothly as possible. Upgrading to Drupal 8 is more similar to building a new website than previous Drupal updates were, meaning that you should never perform the upgrade to Drupal 8 on a live site. It’s also strongly recommended that you create a backup of your live site so that if anything goes awry, you can quickly roll the site back to an earlier version while you figure out what the issue is. See extra details about Migrating from Drupal 7.