Check your version

This video covers a topic in Drupal 7 which may or may not be the version you're using. We're keeping this tutorial online as a courtesy to users of Drupal 7, but we consider it archived.

Run Migrations with Drush

Video loading...

Transcript language code: 

Join Drupalize.Me to watch this video

Join today and gain instant access to our entire video library.

Log in Sign up
  • 0:00
  • 0:02
    Run Migrations with Drush
  • 0:04
    with Joe Shindelar
  • 0:07
    JOE SHINDELAR: One of my favorite parts about the Migrate Module
  • 0:10
    is the level of integration that it has with Drush
  • 0:13
    and the ability to do almost everything we can do
  • 0:15
    in the user interface via Drush commands.
  • 0:18
    In this lesson, I'd like to take a look at all of the Drush commands
  • 0:21
    that the Migrate Module provides.
  • 0:23
    We'll run a bunch of those commands and see

Run Migrations with Drush


In this lesson we'll take a look at running migrations via drush rather than via the Migrate module's UI. We'll take a look at the commands provided by the Migrate module and talk about what they do. Then we'll practice running, rolling back, and otherwise interacting with migrations via drush commands. Throughout the lesson we'll learn about some of the functionality you get from running migrations via drush that are not provided by the UI, like the ability to specify a single record to migrate with the --idlist flag. Finally we'll learn about why in most cases drush is a better tool for running large data migrations because of the limitations imposed on the UI. Pay close attention to this lesson since throughout the remainder of this series we'll be running all of our migrations via drush.