Zum Inhalt springen

Drupal 8 Datamigration Allgemein: Unterschied zwischen den Versionen

Aus Computech CMS Wiki
Zeile 12: Zeile 12:


# Datenbank Backup erstellen bevor mit der Migration begonnen wird.
# Datenbank Backup erstellen bevor mit der Migration begonnen wird.
   Backup erstellen:         <code>drush sql-dump > DB/DB.sql</code>
   Backup erstellen: <code>drush sql-dump > DB/DB.sql</code>
   Backup widerherstellen:   <code>drush sql-cli < DB/DB.sql</code>
   Backup widerherstellen: <code>drush sql-cli < DB/DB.sql</code>
 
# Eigenes Migrations-Modul erstellen.
  https://www.drupal.org/node/1006982
 
# Migrations Source(php) und Migrations(yml) file schreiben.

Version vom 24. Februar 2021, 07:39 Uhr

Drupal 8 Datamigration Allgemein

  1. Die benötigten Module instalieren.
  * Migrate
  * Migrate Plus
  * Migrate Tools
  * Migrate Files (extended)
  * Migrate Drupal
  * Migrate Drupal UI
  * Migrate Devel
  * Custom SQL Migrate Source Plugin
  1. Datenbank Backup erstellen bevor mit der Migration begonnen wird.
  Backup erstellen: drush sql-dump > DB/DB.sql
  Backup widerherstellen: drush sql-cli < DB/DB.sql
  1. Eigenes Migrations-Modul erstellen.
  https://www.drupal.org/node/1006982
  1. Migrations Source(php) und Migrations(yml) file schreiben.