drupal 7 migration
TRANSCRIPT
Drupal 7Migration
Migration
Simply moving from one place to another.
Prerequisites
Drupal 7
Drush (Drupal from command line)
Data already in Drupal database to be migrated
Some idea about module building (but not too much!)
Migrate Module
Migrate 7.x-2.0
New rewrite of Migrate module
Easier extension into different modules (hopefully)
Migrate Module
Write a module to conduct your migration
Controlled from Drush
mini_migrate.info
Basic outline for your module
Give it a name
Add it into the Development section (makes it easier to find)
mini_migrate.module
Add:
function mini_migrate_migrate_api() { $api = array( 'api' => 2, ); return $api;}
mini_migrate.inc
Map out your fields for migration
Add any other handlers with Migrate Extras (User, Image, Taxonomy, Location etc)
Enable your module
Enable module 'drush en mini_migrate'
Run 'drush help'
Run 'drush ms' (migrate status)
Run your module
'drush mi mini_migrate' (migrate import)
View output
Run 'drush ms' (migrate status)
Thank you.
Questions?
http://www.willhallonline.co.uk
Click to edit the title text format
Click to edit the title text format
Click to edit the title text format