drupal 8 migrations by example - 2018.badcamp.org · resources 1. building a custom migration in...
TRANSCRIPT
![Page 1: Drupal 8 Migrations by Example - 2018.badcamp.org · Resources 1. Building a custom migration in Drupal 8 blog series by Tess Flynn 2. Migrate All the Things presentation by](https://reader033.vdocuments.pub/reader033/viewer/2022050513/5f9d1ae3d73c4a4a52292148/html5/thumbnails/1.jpg)
Drupal 8 Migrations by Example@ Twin Cities Drupal Camp 2018http://bit.ly/migrations-by-example
![Page 3: Drupal 8 Migrations by Example - 2018.badcamp.org · Resources 1. Building a custom migration in Drupal 8 blog series by Tess Flynn 2. Migrate All the Things presentation by](https://reader033.vdocuments.pub/reader033/viewer/2022050513/5f9d1ae3d73c4a4a52292148/html5/thumbnails/3.jpg)
Nicaragua
![Page 4: Drupal 8 Migrations by Example - 2018.badcamp.org · Resources 1. Building a custom migration in Drupal 8 blog series by Tess Flynn 2. Migrate All the Things presentation by](https://reader033.vdocuments.pub/reader033/viewer/2022050513/5f9d1ae3d73c4a4a52292148/html5/thumbnails/4.jpg)
USA | Nicaragua | México | Germany
![Page 6: Drupal 8 Migrations by Example - 2018.badcamp.org · Resources 1. Building a custom migration in Drupal 8 blog series by Tess Flynn 2. Migrate All the Things presentation by](https://reader033.vdocuments.pub/reader033/viewer/2022050513/5f9d1ae3d73c4a4a52292148/html5/thumbnails/6.jpg)
Follow along
http://bit.ly/migrations-by-example
http://bit.ly/migrations-by-example-feedback
https://pad.riseup.net/p/migrate-lab-keep
https://gist.github.com/dinarcon/72922e8cf634ada47483117ffa659d76
https://github.com/dinarcon/mbe_professors
![Page 7: Drupal 8 Migrations by Example - 2018.badcamp.org · Resources 1. Building a custom migration in Drupal 8 blog series by Tess Flynn 2. Migrate All the Things presentation by](https://reader033.vdocuments.pub/reader033/viewer/2022050513/5f9d1ae3d73c4a4a52292148/html5/thumbnails/7.jpg)
W ?
![Page 8: Drupal 8 Migrations by Example - 2018.badcamp.org · Resources 1. Building a custom migration in Drupal 8 blog series by Tess Flynn 2. Migrate All the Things presentation by](https://reader033.vdocuments.pub/reader033/viewer/2022050513/5f9d1ae3d73c4a4a52292148/html5/thumbnails/8.jpg)
What we will cover
● Migrating data into nodes, files, and paragraphs.● Migrating data into taxonomy, date, image, file, and
address fields.● Migrating data from JSON and CSV files.● Running migrations from the UI and the terminal.
![Page 9: Drupal 8 Migrations by Example - 2018.badcamp.org · Resources 1. Building a custom migration in Drupal 8 blog series by Tess Flynn 2. Migrate All the Things presentation by](https://reader033.vdocuments.pub/reader033/viewer/2022050513/5f9d1ae3d73c4a4a52292148/html5/thumbnails/9.jpg)
What we will NOT cover
● Migrating data into multi value fields.● Migrating multilingual data.● Migrating data from previous versions of Drupal.● Writing custom migration plugins.
![Page 10: Drupal 8 Migrations by Example - 2018.badcamp.org · Resources 1. Building a custom migration in Drupal 8 blog series by Tess Flynn 2. Migrate All the Things presentation by](https://reader033.vdocuments.pub/reader033/viewer/2022050513/5f9d1ae3d73c4a4a52292148/html5/thumbnails/10.jpg)
![Page 11: Drupal 8 Migrations by Example - 2018.badcamp.org · Resources 1. Building a custom migration in Drupal 8 blog series by Tess Flynn 2. Migrate All the Things presentation by](https://reader033.vdocuments.pub/reader033/viewer/2022050513/5f9d1ae3d73c4a4a52292148/html5/thumbnails/11.jpg)
ExtractTransformLoad
![Page 12: Drupal 8 Migrations by Example - 2018.badcamp.org · Resources 1. Building a custom migration in Drupal 8 blog series by Tess Flynn 2. Migrate All the Things presentation by](https://reader033.vdocuments.pub/reader033/viewer/2022050513/5f9d1ae3d73c4a4a52292148/html5/thumbnails/12.jpg)
Extract (Source plugin)
![Page 13: Drupal 8 Migrations by Example - 2018.badcamp.org · Resources 1. Building a custom migration in Drupal 8 blog series by Tess Flynn 2. Migrate All the Things presentation by](https://reader033.vdocuments.pub/reader033/viewer/2022050513/5f9d1ae3d73c4a4a52292148/html5/thumbnails/13.jpg)
Transform (Process plugin)
![Page 14: Drupal 8 Migrations by Example - 2018.badcamp.org · Resources 1. Building a custom migration in Drupal 8 blog series by Tess Flynn 2. Migrate All the Things presentation by](https://reader033.vdocuments.pub/reader033/viewer/2022050513/5f9d1ae3d73c4a4a52292148/html5/thumbnails/14.jpg)
Load (Destination plugin)
![Page 15: Drupal 8 Migrations by Example - 2018.badcamp.org · Resources 1. Building a custom migration in Drupal 8 blog series by Tess Flynn 2. Migrate All the Things presentation by](https://reader033.vdocuments.pub/reader033/viewer/2022050513/5f9d1ae3d73c4a4a52292148/html5/thumbnails/15.jpg)
![Page 16: Drupal 8 Migrations by Example - 2018.badcamp.org · Resources 1. Building a custom migration in Drupal 8 blog series by Tess Flynn 2. Migrate All the Things presentation by](https://reader033.vdocuments.pub/reader033/viewer/2022050513/5f9d1ae3d73c4a4a52292148/html5/thumbnails/16.jpg)
SQL database
nodes
CSV file
Google Sheet
JSON file
XML file
static map
migration_lookupiterator
default_value
concat
getusers
files
paragraphs
![Page 17: Drupal 8 Migrations by Example - 2018.badcamp.org · Resources 1. Building a custom migration in Drupal 8 blog series by Tess Flynn 2. Migrate All the Things presentation by](https://reader033.vdocuments.pub/reader033/viewer/2022050513/5f9d1ae3d73c4a4a52292148/html5/thumbnails/17.jpg)
![Page 18: Drupal 8 Migrations by Example - 2018.badcamp.org · Resources 1. Building a custom migration in Drupal 8 blog series by Tess Flynn 2. Migrate All the Things presentation by](https://reader033.vdocuments.pub/reader033/viewer/2022050513/5f9d1ae3d73c4a4a52292148/html5/thumbnails/18.jpg)
SQL database nodes
CSV file
Google Sheet
JSON file
XML file
migration_lookup
iterator
default_value
concat
get
users
files
images
paragraphs
SOURCE PROCESS DESTINATION
![Page 19: Drupal 8 Migrations by Example - 2018.badcamp.org · Resources 1. Building a custom migration in Drupal 8 blog series by Tess Flynn 2. Migrate All the Things presentation by](https://reader033.vdocuments.pub/reader033/viewer/2022050513/5f9d1ae3d73c4a4a52292148/html5/thumbnails/19.jpg)
SOURCE
PROCESS
DESTINATION
![Page 20: Drupal 8 Migrations by Example - 2018.badcamp.org · Resources 1. Building a custom migration in Drupal 8 blog series by Tess Flynn 2. Migrate All the Things presentation by](https://reader033.vdocuments.pub/reader033/viewer/2022050513/5f9d1ae3d73c4a4a52292148/html5/thumbnails/20.jpg)
![Page 21: Drupal 8 Migrations by Example - 2018.badcamp.org · Resources 1. Building a custom migration in Drupal 8 blog series by Tess Flynn 2. Migrate All the Things presentation by](https://reader033.vdocuments.pub/reader033/viewer/2022050513/5f9d1ae3d73c4a4a52292148/html5/thumbnails/21.jpg)
Live demo (what can go wrong?)
https://gist.github.com/dinarcon/72922e8cf634ada47483117ffa659d76 https://github.com/dinarcon/mbe_professors
![Page 22: Drupal 8 Migrations by Example - 2018.badcamp.org · Resources 1. Building a custom migration in Drupal 8 blog series by Tess Flynn 2. Migrate All the Things presentation by](https://reader033.vdocuments.pub/reader033/viewer/2022050513/5f9d1ae3d73c4a4a52292148/html5/thumbnails/22.jpg)
"This is impossible to understand for people
that are not migrate maintainers."
Adam Globus-Hoenich@phenaproxima
Migrate maintainer
![Page 23: Drupal 8 Migrations by Example - 2018.badcamp.org · Resources 1. Building a custom migration in Drupal 8 blog series by Tess Flynn 2. Migrate All the Things presentation by](https://reader033.vdocuments.pub/reader033/viewer/2022050513/5f9d1ae3d73c4a4a52292148/html5/thumbnails/23.jpg)
Modules Migrate Tools drupal.org/project/migrate_tools
Migrate Plusdrupal.org/project/migrate_plus
![Page 24: Drupal 8 Migrations by Example - 2018.badcamp.org · Resources 1. Building a custom migration in Drupal 8 blog series by Tess Flynn 2. Migrate All the Things presentation by](https://reader033.vdocuments.pub/reader033/viewer/2022050513/5f9d1ae3d73c4a4a52292148/html5/thumbnails/24.jpg)
More modules Migrate Source CSVdrupal.org/project/migrate_source_csv
Migrate Spreadsheetdrupal.org/project/migrate_spreadsheetSupports .ods, .xls, .xlsx, .csv
![Page 25: Drupal 8 Migrations by Example - 2018.badcamp.org · Resources 1. Building a custom migration in Drupal 8 blog series by Tess Flynn 2. Migrate All the Things presentation by](https://reader033.vdocuments.pub/reader033/viewer/2022050513/5f9d1ae3d73c4a4a52292148/html5/thumbnails/25.jpg)
Resources1. Building a custom migration in Drupal 8 blog series by Tess Flynn
https://deninet.com/tags/drupal-migration 2. Migrate All the Things presentation by Dave Vasilevsky
https://www.youtube.com/watch?v=hTeijxQPMnI 3. Evolving Web tutorials https://evolvingweb.ca/tags/migrate 4. MTech tutorials https://www.mtech-llc.com/blog 5. Migrate with the Maintainers Lab
events.drupal.org/baltimore2017/sessions/migrate-maintainers-lab
![Page 26: Drupal 8 Migrations by Example - 2018.badcamp.org · Resources 1. Building a custom migration in Drupal 8 blog series by Tess Flynn 2. Migrate All the Things presentation by](https://reader033.vdocuments.pub/reader033/viewer/2022050513/5f9d1ae3d73c4a4a52292148/html5/thumbnails/26.jpg)
Thanks● Lucas Hedding (heddn)● Adam Globus-Hoenich (phenaproxima)● All migrate contributors
![Page 27: Drupal 8 Migrations by Example - 2018.badcamp.org · Resources 1. Building a custom migration in Drupal 8 blog series by Tess Flynn 2. Migrate All the Things presentation by](https://reader033.vdocuments.pub/reader033/viewer/2022050513/5f9d1ae3d73c4a4a52292148/html5/thumbnails/27.jpg)
![Page 28: Drupal 8 Migrations by Example - 2018.badcamp.org · Resources 1. Building a custom migration in Drupal 8 blog series by Tess Flynn 2. Migrate All the Things presentation by](https://reader033.vdocuments.pub/reader033/viewer/2022050513/5f9d1ae3d73c4a4a52292148/html5/thumbnails/28.jpg)
![Page 29: Drupal 8 Migrations by Example - 2018.badcamp.org · Resources 1. Building a custom migration in Drupal 8 blog series by Tess Flynn 2. Migrate All the Things presentation by](https://reader033.vdocuments.pub/reader033/viewer/2022050513/5f9d1ae3d73c4a4a52292148/html5/thumbnails/29.jpg)
Please Provide Feedback@dinarcon | #D8MigrateExample | [email protected]
http://bit.ly/migrations-by-examplehttp://bit.ly/migrations-by-example-feedback