I am using the drupal2drupal UI for a D7 to D7 migration. Is there anyway I can export the setting for the migration including the connection string and the field mappings so that we can repeat the exact migration on another server without having to repeat the UI setup?


There is a feature request for the Migrate module: Export migration configuration as code. Beware that this is highly experimental! Here is the summary of the issue:

  1. Apply this patch to the Migrate module and be sure to clear cache. This patch makes your configuration exportable as a Feature.

  2. You can now create a new Feature on the source site and select your configuration inside the Migrate fieldgroup. Check all options that apply and download/export your Feature.

  3. Copy the Feature to your target site, enable it and then revert it to copy all your settings.

  • I reverted it but nothing shows up, and when I run drush ms I get :No source_version provided in migrate_d2d migration arguments. – Diana Jan 31 '17 at 21:49
  • Actually the feature works partially, I had to put in the connection string again but other wise the other things were stored. thanks – Diana Feb 3 '17 at 19:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.