Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Migrate Drupal7 to Drpual8

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers.

Migrate Drupal7 to Drpual8

Avatar for kazukomurata

kazukomurata

October 01, 2020
Tweet

More Decks by kazukomurata

Other Decks in Technology

Transcript

  1. drushから実行 1/2 • 参考 : Upgrade using Drush • コントリビューション

    Migrate Plus, Migrate Tools が必要 1. 移行用のconfigを生成 a. https://qiita.com/masam10/items/5b0d14d2af0115307d27 の設定を自動生成している 2. 設定系の移行実行 3. コンテンツ系の移行を実行 4. 実行結果を確認
  2. drushから実行 2/2 移行用のconfigを生成 drush migrate -upgrade --legacy-db-url=mysql://user:password@server/db --legacy-root=http://example.com --configure-only 設定系の移行実行

    drush migrate:import --group=migrate_drupal_7 --tag=Configuration --execute-dependencies コンテンツ系の移行を実行 drush migrate:import --group=migrate_drupal_7 --tag=Content --execute-dependencies 実行結果を確認 drush migrate:status --group='migrate_drupal_7'