drupal 8 migration october 2018 strategy · drupal 8 migration strategy october 2018. lynne walsh...

30
Drupal 8 Migration Strategy October 2018

Upload: others

Post on 28-Jun-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Drupal 8 Migration October 2018 Strategy · Drupal 8 Migration Strategy October 2018. Lynne Walsh Senior Technical Content ... a CSV into a database, using coded files that direct

Drupal 8 Migration Strategy

October 2018

Page 2: Drupal 8 Migration October 2018 Strategy · Drupal 8 Migration Strategy October 2018. Lynne Walsh Senior Technical Content ... a CSV into a database, using coded files that direct

Lynne WalshSenior Technical Content

Strategist, CHIEF

[email protected]

Page 3: Drupal 8 Migration October 2018 Strategy · Drupal 8 Migration Strategy October 2018. Lynne Walsh Senior Technical Content ... a CSV into a database, using coded files that direct
Page 4: Drupal 8 Migration October 2018 Strategy · Drupal 8 Migration Strategy October 2018. Lynne Walsh Senior Technical Content ... a CSV into a database, using coded files that direct
Page 5: Drupal 8 Migration October 2018 Strategy · Drupal 8 Migration Strategy October 2018. Lynne Walsh Senior Technical Content ... a CSV into a database, using coded files that direct
Page 6: Drupal 8 Migration October 2018 Strategy · Drupal 8 Migration Strategy October 2018. Lynne Walsh Senior Technical Content ... a CSV into a database, using coded files that direct

Where to StartInventory

Page 7: Drupal 8 Migration October 2018 Strategy · Drupal 8 Migration Strategy October 2018. Lynne Walsh Senior Technical Content ... a CSV into a database, using coded files that direct

What is an inventory?

Like an inventory of a library, an inventory of a website includes:

Number of:

● urls (how many pages)

● taxonomy terms (how they are organized)

● site directories (how many site sections there are)

● user accounts (who’s updating the site)

● files and assets (pdfs, images, video etc.)

Page 8: Drupal 8 Migration October 2018 Strategy · Drupal 8 Migration Strategy October 2018. Lynne Walsh Senior Technical Content ... a CSV into a database, using coded files that direct

Anything your developer needs to move from one place to another should be in your inventory.

Page 9: Drupal 8 Migration October 2018 Strategy · Drupal 8 Migration Strategy October 2018. Lynne Walsh Senior Technical Content ... a CSV into a database, using coded files that direct

Site CrawlRun a site crawl using

automated site crawler to count:

● Directories● File links

DatabaseGet a copy of your database

and pull counts for:

● Content Types● Nodes● Taxonomy ● Images● Users

Compiling Your Inventory

*Don’t forget to compare your results to look for Orphan Pages

Page 10: Drupal 8 Migration October 2018 Strategy · Drupal 8 Migration Strategy October 2018. Lynne Walsh Senior Technical Content ... a CSV into a database, using coded files that direct

Map It

Page 11: Drupal 8 Migration October 2018 Strategy · Drupal 8 Migration Strategy October 2018. Lynne Walsh Senior Technical Content ... a CSV into a database, using coded files that direct

Take it By Type

Page 12: Drupal 8 Migration October 2018 Strategy · Drupal 8 Migration Strategy October 2018. Lynne Walsh Senior Technical Content ... a CSV into a database, using coded files that direct

Mapping Spreadsheets

Page 13: Drupal 8 Migration October 2018 Strategy · Drupal 8 Migration Strategy October 2018. Lynne Walsh Senior Technical Content ... a CSV into a database, using coded files that direct

You don’t need to be a developer to put this spreadsheet together.

You just need to know

where to look.

Page 14: Drupal 8 Migration October 2018 Strategy · Drupal 8 Migration Strategy October 2018. Lynne Walsh Senior Technical Content ... a CSV into a database, using coded files that direct

Where to Look

Page 15: Drupal 8 Migration October 2018 Strategy · Drupal 8 Migration Strategy October 2018. Lynne Walsh Senior Technical Content ... a CSV into a database, using coded files that direct

Migration Types

Page 16: Drupal 8 Migration October 2018 Strategy · Drupal 8 Migration Strategy October 2018. Lynne Walsh Senior Technical Content ... a CSV into a database, using coded files that direct

1Database to

Database

2API to

Database

3CSV to

Database4

Good ol’ Copy & Paste

2 Types of Migration / 4 Types of Sources

Manual MigrationScripted Migration

Page 17: Drupal 8 Migration October 2018 Strategy · Drupal 8 Migration Strategy October 2018. Lynne Walsh Senior Technical Content ... a CSV into a database, using coded files that direct

1Database to

Database

Move data from one database into

another,using coded files that direct

where the data should go and how.

2*API to

Database

*can also be applied to API migrations

Scripted Migration

Page 18: Drupal 8 Migration October 2018 Strategy · Drupal 8 Migration Strategy October 2018. Lynne Walsh Senior Technical Content ... a CSV into a database, using coded files that direct

3CSV to

Database

Move data from a CSV into a database,using coded files that direct where the data should go

and how.

Scripted Migration

Page 19: Drupal 8 Migration October 2018 Strategy · Drupal 8 Migration Strategy October 2018. Lynne Walsh Senior Technical Content ... a CSV into a database, using coded files that direct

4Good ol’ Copy

& Paste

Move data by hand. Copy and Paste,

directly into the wysiwyg in the new site.

Manual Migration

Page 20: Drupal 8 Migration October 2018 Strategy · Drupal 8 Migration Strategy October 2018. Lynne Walsh Senior Technical Content ... a CSV into a database, using coded files that direct

How to Choose?

Database to Database (scripted)

CSV to Database (scripted)

Manual(good ol’ copy and

paste)

Page 21: Drupal 8 Migration October 2018 Strategy · Drupal 8 Migration Strategy October 2018. Lynne Walsh Senior Technical Content ... a CSV into a database, using coded files that direct

One Section at a Time

To determine how to approach a migration, take it content type by content type.

For Each Content Type...

1. List your fields2. Map those fields3. Decide Method

Page 22: Drupal 8 Migration October 2018 Strategy · Drupal 8 Migration Strategy October 2018. Lynne Walsh Senior Technical Content ... a CSV into a database, using coded files that direct

Examples

Blog content types typically have:

● Consistent fields;● Consistent functionality;● High number of nodes.

Therefore, the fastest option isscripting the blog content type.

Page content types typically have:

● Small amount of content;● Varying layout;● Varying functionality.

Therefore, the best option is to migrate page content by hand.

Page 23: Drupal 8 Migration October 2018 Strategy · Drupal 8 Migration Strategy October 2018. Lynne Walsh Senior Technical Content ... a CSV into a database, using coded files that direct

ResourcingThink about your team.

Page 24: Drupal 8 Migration October 2018 Strategy · Drupal 8 Migration Strategy October 2018. Lynne Walsh Senior Technical Content ... a CSV into a database, using coded files that direct

Consider The PlayersWho is on your Team?

• Developer Heavy and limited strategist support. Consider scripting.

• Developer support is present but limited. Rely on your strategists to manually migrate so your dev can spend their time where they are needed most.

• Diverse Team. Lots of strategists, copy editors, UX, and developers. Consider splitting work up between people to divide and conquer.

Page 25: Drupal 8 Migration October 2018 Strategy · Drupal 8 Migration Strategy October 2018. Lynne Walsh Senior Technical Content ... a CSV into a database, using coded files that direct

Consider the RateHow fast can your team manually migrate.

Page 26: Drupal 8 Migration October 2018 Strategy · Drupal 8 Migration Strategy October 2018. Lynne Walsh Senior Technical Content ... a CSV into a database, using coded files that direct

Recycle Your Code

Scripts are written field by field and this code can be reused.

Talk to your developers about the code they’ve used before and avoid

having to start from scratch.

Page 27: Drupal 8 Migration October 2018 Strategy · Drupal 8 Migration Strategy October 2018. Lynne Walsh Senior Technical Content ... a CSV into a database, using coded files that direct

Talk to Your Developer

Run through the results of the inventory & make note of the

following:

• Types of fields in each content type. Plain text vs. formatted text (like a WYSIWYG).

• Make sure there is a migration plan for any unique functionality (calendars, video, php code, things brought in via iframe).

• How taxonomy used on the site.

Page 28: Drupal 8 Migration October 2018 Strategy · Drupal 8 Migration Strategy October 2018. Lynne Walsh Senior Technical Content ... a CSV into a database, using coded files that direct
Page 29: Drupal 8 Migration October 2018 Strategy · Drupal 8 Migration Strategy October 2018. Lynne Walsh Senior Technical Content ... a CSV into a database, using coded files that direct

Helpful Resources● Migration Mapping Spreadsheet

● Screaming Frog site crawler

● Blog: Migration Strategy: Using Your Inventory*ongoing blog series on migration

Let’s Connect!

Page 30: Drupal 8 Migration October 2018 Strategy · Drupal 8 Migration Strategy October 2018. Lynne Walsh Senior Technical Content ... a CSV into a database, using coded files that direct

Questions?