On this page
Migrate DRD from Drupal 7 to 8
If you have been using DRD already on Drupal 7 and want to migrate over with all the cores and domains automatically been available in your new dashboard, simply follow this guide.
- Install Drupal 8
- Download and enable DRD
- Download DRD Agent on all your Drupal installations
- Export inventory on your Drupal 7 DRD:
- Make sure you've installed the latest versions of DRD (7.x-2.6) and DRD Server (7.x-2.6)
- Call https://www.example.com/drd/migrate2d8 on your Drupal 7 DRD host (replace www.example.com with your correct domain name)
- Save the json file to your hard drive
- Import inventory to your Drupal 8 DRD:
- Using Drupal Console: drupal drd:migrate:from:d7 /path/to/inventory.json
- Using Drush: drush drd-migrate-from-d7 /path/to/inventory.json
- That's it, you're done!
Make sure that you call the import no later than 30 minutes after you've started the export, because the tokens being used to accept your new dashboard on the existing remote sites automatically are only valid for that period of time.
Cleaning up
If all that has been completed you can disable the DRD Migrate module on your Drupal 8 DRD site and also delete your old Drupal 7 DRD site.
How is that working?
When exporting your inventory from D7, the DRD 7 version is enabling the DRD Agent module on all sites it has access to and where that module is available in the file system. For all those sites it generates a unique and secure token which will be stored as a variable on those remote sites and remembers that those tokens are valid for 30 minutes only.
When importing the inventory to D8, the inventory list with domains and tokens is used to contact each of those remote sites providing the token and asking to allow access. If the token matches the one the remote site has stored and if it hasn't expired yet, the request is accepted and the site will be configured.
Help improve this page
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion