Drupal Migrate D2D for Beginners - Let's dip our toes - - PowerPoint PPT Presentation

drupal migrate d2d for beginners let s dip our toes
SMART_READER_LITE
LIVE PREVIEW

Drupal Migrate D2D for Beginners - Let's dip our toes - - PowerPoint PPT Presentation

Drupal Migrate D2D for Beginners - Let's dip our toes https://2015.midcamp.org/node/92 MidCamp 2015 Wilbur Ince @wylbur Triplo http://triplo.co Agenda Discuss Migrate and D2D Process Explore Wizard UI Drupal Migrate and D2D Why do I


slide-1
SLIDE 1

Drupal Migrate D2D for Beginners - Let's dip our toes

https://2015.midcamp.org/node/92 MidCamp 2015

slide-2
SLIDE 2

Wilbur Ince

@wylbur Triplo http://triplo.co

slide-3
SLIDE 3

Agenda

Discuss Migrate and D2D Process Explore Wizard UI

slide-4
SLIDE 4

Drupal Migrate and D2D

Why do I care?

slide-5
SLIDE 5

Drupal 6 End of Life!

D8 Means end of D6 Migrate D2D to the rescue!

slide-6
SLIDE 6

No More Drupal Upgrade

Drupal Universe is too complex Inflexible process Just not available anymore!

slide-7
SLIDE 7

Migrate can be used for any data

PDO (DBTNG), XML, CSV, JSON, and native MSSQL and Oracle API sources

slide-8
SLIDE 8

What is Migrate

"The Migrate module (V2) provides a flexible framework for migrating content into Drupal from

  • ther sources. It is important to recognize that the

Migrate module is a developer's tool — if you do not have object-oriented programming skills in PHP, this module is not for you. " [ ] https://www.drupal.org/migrate

slide-9
SLIDE 9

Migrate Key Points

Flexible framework Migrating Content Developers Tool Object Oriented

slide-10
SLIDE 10

What is Migrate D2D?

The Drupal-to-Drupal data migration module (migrate_d2d) extends the framework provided by the Migrate module to support migration of content and data from one Drupal installation to another. It understands the core schemas of Drupal 5, Drupal 6, and Drupal 7, as well as the contributed CCK module for versions 5 and 6. [ ] https://www.drupal.org/node/1813498

slide-11
SLIDE 11

D2D Key Points

Migrate content and Data Understands Core Schemas of 5, 6, 7 AND 8! and CCK for 5, 6 Modules provide support for their schema

slide-12
SLIDE 12

What's Missing?

There's a UI now (D2D 2.1) Simple migrations are very possible This approach does not require code!

slide-13
SLIDE 13

How does it work?

The Drupal Way - tables

MigrateSource represents the source data. MigrateDestination represents the destination

  • bject (user, node, etc.).

MigrateMap represents the relationship between source and destination objects MigrateFieldMapping represents a mapping between a source field and a destination field.

slide-14
SLIDE 14

Migrate Mapping

slide-15
SLIDE 15

D2D Migrate - Howto?

Build your new Drupal 7/8 website Map content from old site to new site Migrate content Rollback Migrate again

slide-16
SLIDE 16

Two Approaches

UI Wizard Drupal module and Drush Not completely separate processes

slide-17
SLIDE 17

Example Drupal 6 Migration

[ ] http://l.teamroadkill.org/admin/content/types http://l.migrate.com/admin/content/migrate

slide-18
SLIDE 18

Migrate Drush Commands

[ ] https://www.drupal.org/node/1561820

slide-19
SLIDE 19

Summary

Provides simple interface for D2D migration No code required Can't handle complex poerations

slide-20
SLIDE 20

UI Wizard

Advantages

Point and Click 'Straight' conversions Can alter elements of each migration Provides a list of all content

slide-21
SLIDE 21

UI Wizard

Dis-advantages

Can't redefine the base migrations No complicated migrations No data manipulation in the process Point and Click

slide-22
SLIDE 22

Questions?

slide-23
SLIDE 23

Sprint Sunday

09:00-17:00

Here at UIC Student Center http://2015.midcamp.org/schedule

Learn through contribution

Contributors of all skill sets and levels are welcome and encouraged.

slide-24
SLIDE 24

#MidCamp Drupal Migrate for Beginners / Wilbur Ince - http://lb.cm/joind92

Feedback

https://joind.in/talk/view/13813 Speaker Name: @wylbur MidCamp