Migrating from Drupal to Drupal: Using migrate and migrate_d2d

Speakers: 

Drupal 8 is coming soon (well, when it’s ready ;) Drupal 7 is mature and has some years in it left. But, there are plenty of Drupal 6 and, gasp, Drupal 5 (and maybe even Drupal 4) sites out in the wild.

In Drupal 7 and earlier, you could use the “upgrade” path for moving a site from an older (major) version of Drupal to a new version… like Drupal 5 to Drupal 6 or Drupal 6 to Drupal 7. Not that this was necessarily simple to do though. When skipping versions (e.g. Drupal 5 to 7), when doing a redesign, or due to other factors like a hacked codebase, the “upgrade” path doesn’t make sense or isn't feasible.

Enter the migrate module

The migrate module provides a framework for migrating any site into Drupal and the migrate_d2d module makes this even easier for migrating from Drupal site to Drupal site. These modules provide base classes and helper functionality for mapping between entities, maintaining relationships between data, testing migrations in small batches, rolling back failed migrations, and more.

This session will cover

  • Planning for a migration including entity mapping
  • High-level overview of migrate architecture
  • Dependencies and order of execution
  • Handling managed files
  • Consolidating content types and migrating nodes to other entities
  • Custom code in preImport, postImport, prepare, prepareRow, and complete functions
  • Using drush for testing and real migrations

About the speaker

Kristen has been working with Drupal since 2004 as a developer and architect, specializing in multilingual, migrations, and SEO. She has presented at DrupalCon Portland, several BADCamps, several Stanford camps, and other Drupal camps and user group meetings. Checkout her drupal.org page for a partial list of presentations and check out more info at http://www.hook42.com/team/kristen-pol.

Schedule info
Experience level: 
Intermediate
Drupal Version: 
Drupal 7.x

Comments

I just went through migrating from one Drupal installation to another and the process was a pain. I had to clone the DB, which is not what I wanted to do. Having some instruction on how to use the migrate module would be great. Also, Kristen is a great presenter and I look forward to seeing her speak. Thanks!

dwkitchen’s picture

I have used the D2D migration module for migrating from an Ubercart Site on D6 to Drupal Commerce on D7 and it works great with Commerce Migrate Ubercart.

If you are thinking about migrating a Drupal site from 6 or 7 to 8 or even 9 when it comes this will be the module to use.