The Drupal 8 Migrate API and related tools are used to import data such as content, users, and configuration values into Drupal. The system consists of three core modules: Migrate, Migrate Drupal, and Migrate Drupal UI. A growing number of contributed modules also aid in writing and executing a migration. In Drupal 7 the migration API is provided by the Migrate contributed module.
As a developer you'll use the Migrate API in Drupal 8 to write migration plugins that extract data from a defined source, transform it to match with your Drupal data model, and then load it into Drupal via the Entity or Config APIs. You'll then use one or more contributed modules to execute, rollback, and debug your data migration.
- Import data from a CSV file, MySQL database, or other source into Drupal
- Migrate from WordPress or another CMS to Drupal
- Provide an update path for users of your module when porting it to Drupal 8
The Migration API in Drupal 8 changed significantly between 8.0.x and 8.1.x. Parts of the API are still experimental and continue to evolve, though we doubt they'll change significantly again. If you're doing anything with migrations we recommend using the latest stable version of Drupal 8.x.
Our extensive migration guide covers everything you need to know to get started writing, executing, and debugging Drupal 8 migrations. We recommend the following starting points:
For Drupal 7 migrations check out our series Importing Data with Migrate and Drupal 7, which covers the Drupal 7 Migrate module, the precursor to the Migrate API in Drupal 8.