Getting Stuff into Drupal: Basics of Content Migration

Almost anyone with a bit of Drupal knowledge can build a functional Drupal site these days, but what happens when it's time to get the last 5 years of your organization's content into that snazzy new site? More often than not, the solution involves hiring outside help or migrating content manually (ugh). Fortunately, the Drupal community has written some amazing tools to assist with content migration, and this workshop will demonstrate how to utilize them. Examples of migrating data from comma-separated-values files (via the Feeds module), Drupal 6 to Drupal 7 (via the Migrate module), and from an generic MySql database (also via the Migrate module) will form the basis for the workshop. Participants can expect to leave the workshop with confidence that they can tackle their next data migration project.

Skill Level
Intermediate
Intended Audience
Developers
Hobbyists
Prerequisites

Participants should have a good base knowledge of Drupal fundamentals for the Feeds migration portion of the workshop. The Migration module examples will involve a generous amount of object-oriented PHP code.

For students that want to follow along:

Feeds portion of the workshop

  1. Have a local copy of Drupal up-and-running on your machine (via Acquia Dev Desktop or similar).
  2. Have the Feeds, Feeds Tamper, Views Bulk Operations, and Administration Views modules installed and enabled on your local site.
  3. The instructor will also provide sample content to migrate at the time of the class.

Migrate portion of the workshop

  1. Have a local copy of Drupal up-and-running on your machine (via Acquia Dev Desktop or similar).
  2. Have the Migrate module installed and enabled (including the "Migrate UI" module - part of the main "Migrate module") on your local site.
  3. Have the BBCode and Redirect modules installed and enabled on your local site.
  4. Have a code editor that you're comfortable with installed on your local machine.
  5. Have a MySql administration tool up-and-running on your local machine (phpMyAdmin or similar).
  6. (optional) have Drush up-and-running on your local machine.
  7. The instructor will provide sample content to migrate at the time of the class.

Drupal-to-Drupal Migration portion of the workshop

  1. Have a local copy of Drupal up-and-running on your machine (via Acquia Dev Desktop or similar).
  2. Have the Migrate and Drupal-to-Drupal Migration modules installed and enabled (including the "Migrate UI" module (part of the main "Migrate module") on your local site.
  3. Have a code editor that you're comfortable with installed on your local machine.
  4. Have a MySql administration tool up-and-running on your local machine (phpMyAdmin or similar).
  5. (optional) have Drush up-and-running on your local machine.
  6. The instructor will provide sample content to migrate at the time of the class.

Example files for this workshop can be found here, but will only be available immediately prior to, and during an active workshop.