Skip to content

Instantly share code, notes, and snippets.

@dinarcon
Last active August 7, 2019 20:32
Show Gist options
  • Save dinarcon/73cf3dc1af44ba59ae3daae1051aeaf4 to your computer and use it in GitHub Desktop.
Save dinarcon/73cf3dc1af44ba59ae3daae1051aeaf4 to your computer and use it in GitHub Desktop.
# 1) Run the migration.
$ drush migrate:import udm_process_intro
# 2) Some non recoverable error occurs. Check the status of the migration.
$ drush migrate:status udm_process_intro
# 3) Stop the migration.
$ drush migrate:stop udm_process_intro
# 4) Reset the status to idle.
$ drush migrate:reset-status udm_process_intro
# 5) Rollback migration because the expected results were not obtained.
$ drush migrate:rollback udm_process_intro
# 6) Change the migration definition file.
# 7) Rebuild caches for changes to be picked up.
$ drush cache:rebuild
# 8) Run the migration again.
$ drush migrate:import udm_process_intro
# 1) Run the migration.
$ drush migrate:import udm_subfields
# 2) Rollback migration because the expected results were not obtained.
$ drush migrate:rollback udm_subfields
# 3) Change the migration definition file.
# 4) Rebuild caches for changes to be picked up.
$ drush cache:rebuild
# 5) Run the migration again.
$ drush migrate:import udm_subfields
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment