Document how to migrate ECK entities from one Drupal instance to another

Created on 12 June 2024, 7 months ago
Updated 24 June 2024, 6 months ago

Hi,

I'm trying to migrate Drupal ECK entities/bundles/content from a Drupal 8.x (8.5 to be exact + ECK 8.x-1.0-alpha3) site to a new Drupal 10.2 + ECK 2.0.0 site but cant really find any documentation related on how-to run this kind of migration. Any help is really appreciated.

πŸ“Œ Task
Status

Active

Version

2.0

Component

Documentation

Created by

πŸ‡ͺπŸ‡¨Ecuador andres.torres

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @andres.torres
  • πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

    I'm not sure about the source part of the migration yml, I've never done a migration from one D8+ site to another. But there's probably a base entity source plugin available somewhere if you dig around in the "migrate" directory.

    Use something like this for the migration yml file's destination:

    destination:
      plugin: 'entity:NAMEOFECKENTITYTYPE'
      translations: false
      default_bundle: NAMEOFECKBUNDLE
    

    Hope that helps.

  • πŸ‡ͺπŸ‡¨Ecuador andres.torres

    Hi @ DamienMcKenna, thank so much for your response.! So in order to make the picture clearer, this is what I'm using to get migrations work from an old D.8.5 to D.10.x in this case, hoping we can improve the documentation.
    1.- Install: Migrate
    2.- Install: Migrate Plus
    3.- Install: Migrate Tools
    4.- Install: Drupal 8+ migration (source) - (Which is supposed to connect content from external databases at this time)

    Technically speaking "migrate_drupal_d8" does offer a plugin (d8_entity) to import any entities from D8+ (Tried it before with migrations from D8 to D9 https://antrecu.com/blog/how-migrate-drupal-8-drupal-9 ) when creating .yml files and it works great. But when it comes to ECK migrations from D.8.x, D.9.X to D.10.x it just won't recognize any of the available options for ECK apparently.

Production build 0.71.5 2024