Drupal dev days Lisbon 2018 5th Thursday - The Myths, Musts And Migraines Of Migrations

Aug 01, 2018

The Myths, Musts and Migraines of Migrations


Speaker: Marc van Gend (https://www.drupal.org/u/marcvangend)


How often do you meet a new client that does not have a website yet? Practically every organisation has an online presence, often not Drupal, sometimes with lots of content that must not be left behind when a new site is built. In that case, a data migration is unavoidable.

Migrations are complex things. You will encounter different data sources such as files and databases. Usually there are dependencies and references between different types of content. Dirty, incomplete, duplicate or inconsistent data is the rule rather than the exception. Existing data must be massaged into the new format.

The good news is: Migrations may be complex, but thanks to Drupal's Migrate API, the basics are not difficult to learn.

In this session we will explore the Migrate system in D8 core and the contrib modules you'll want to add. I will focus on non-Drupal to Drupal migrations. From a high-level overview of the source-process-destination flow, we will zoom in on the details: How do you define a migration in YAML files? How to link migrated data together? How does a migration fit into the rest of the development process? How does one write custom migrate plugins? How to judge the quality of the supplied data?

Every migration is tailor-made and after this session you should be ready to get started with your own migration, tailored to the needs of your client. Knowledge of the Migrate API is not needed, but I assume knowledge about Drupal's general architecture and the ability to read YAML and PHP code. Being able to say the title of this session five times fast is a plus ;-)

Hi! I'm Karim Boudjema, the developer and site-builder of this site. I'm currently working as a freelance Drupal developer.

I was wondering how could I giving back to the Drupal community all what it gave to me during the last 10 years, that's how the idea of this site came to me ... (read more)

Hi! I’m Santiago Rico, the web designer and themer of this site.

When Karim proposed me to design and theme this site for the Drupal community, I accepted immediately because the community is the main reason why I love Drupal so much.