Do I need to run drush migrate

Created on 16 October 2024, 3 months ago

Problem/Motivation

I understand that the module simply generates the yml files for the migrations that will later be used by the drupal (core) migrate module but I'm not sure where to begin after I have set all of the UI settings Configuring Migration the migration and mapping the nodes, field, and taxonomies.

Do I need to run:
drush migrate:upgrade --legacy-db-key=migrate --legacy-root=/website/sites/default/files --configure-only
drush migrate:status --tag='Drupal 7'

Thanks,
Andrew

💬 Support request
Status

Active

Version

3.0

Component

Documentation

Created by

🇨🇦Canada awasson

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

Comments & Activities

  • Issue created by @awasson
  • 🇪🇸Spain Carlos Romero

    Hi awanson.

    You must run drush ms for see the migrations avaliables.
    Later you can run drush mim id_migration for run each migration.

    Also you can install migrate tools module for run migration from admin interface.

    Here you can see all commands for manage migrations with drush.

    I understand that your problem is about migrations in general. The purpose of this module is to automatically generate the YML that are normally done by hand, the rest of the process to migrate content from Drupal 7 is the same as always. I recommend that you read documentations, tutorials. Examples and videos to learn and understand how Drupal migrations work. I close the issue. all the best.

  • 🇩🇰Denmark Steven Snedker

    You may want to make

    drush ms
    drush mim id_migration
    

    part of the documentation for the module.

    A chapter called "Running the migrations" in the README.md would be well received, I think.

  • 🇪🇸Spain Carlos Romero

    This point would correspond to the general Drupal documentation on how to do migrations, in any case we could refer to that documentation from here.

    Regards.

  • 🇩🇰Denmark Steven Snedker

    Yes. We should do our utmost to help the users using our modules.

    Migrate Wizard is probably a great module. But the documentation (I think it was mostly the documentation, but cannot be completely sure) made me opt for another solution.

Production build 0.71.5 2024