This document provides an introduction and overview of using the Migrate module in Drupal to import and migrate content from various sources like CSV files, other Drupal sites, or other content management systems. It discusses the basic steps for creating a custom migration module including preparing the site, mapping fields, running migrations, and testing. Specific examples are provided for migrating content from a CSV file and from another Drupal site using the Migrate D2D module. Migrating content is presented as a useful technique for moving or upgrading content between different versions of Drupal.
2. • Drupal consulting,
development, and training
• Founded in 2007 by Alex and
Suzanne
• Help organizations build
awesome Drupal websites
with custom functionality
About me
5. Migration Methods
• Migration by hand
• Node export module
• Feeds module
• Create a custom migration script
• Use the migrate module
6. The Migrate module
• Imports content from various sources
• Works with nodes, taxonomy terms, users,
etc.
• Allows you to migrate content, and then
rollback to remove what you added
• You have to write some code to run
migrations
36. Setup
• Used bundle copy to create the program
content type on migrate-demo2
• Installed Migrate D2D on migrate-demo2
• Looked up my database credentials from
migrate-demo
45. Drupal 8 Migrate
• Migrate and Migrate Drupal core modules
• No need to create content types
• Works with content and configuration
• Currently works for D6 to D8, D7 to D8 in progress
• No more upgrading using update.php
• You can create manifest.yml to define a migration
• Migrate Upgrade module (contrib) provides a UI
for Drupal to Drupal migrations
https://www.drupal.org/node/2350521