0

I had a temporary instance of drupal set up with lots of modules. I now have a new instance of Drupal and I want to install all the same modules, but I can only see how to do it with the GUI admin interface, which is frankly, horrifically clunky and unwieldy.

Is there another way to do this without spending half a day manually installing them again?

I've only heard of Drush, but I'm not sure how to set this up on windows, so this might not be the best answer. Everything I search for online (e.g. 'Export drupal modules') points me back to a 'modules that exports nodes etc.', not a 'mechanism for exporting modules'.

I've also found something called Deploy but I can't tell if this is for modules or just nodes.

2

This is where the concept of drupal distributions comes in.

Yes you will need drush, a make file with the modules you need and a profile that installs these modules upon site-install.

  • Thanks for the advice. I don't want to create a distribution though. The whole Drush/Make file/distributions malarkey looks like it's more hassle than it's worth (for me at least). I'll wait a little longer for other answers but I may just go with doing it manually. – Pureferret Nov 24 '14 at 11:39
  • 1
    If you find yourself downloading and installing the same modules again and again, make files are certainly the way to go – Pan Chrono Nov 24 '14 at 13:20
1

What you can do is copy the module folders from your previous Drupal instance to new one. This will do (but I don't suggest it). But if you do so then you need to enable all your modules from GUI admin interface. Another glitch would be that if there is any update to the module then you will not get the updated module.

But I suggest it's best to use drush and it will give you more functionality which I cannot list you here.

Installing Drush on Windows

also see this nice tutorial on OStraining

EDIT:

This is nice and simple tutorial to setup drush on windows Installing Drush on Windows - 1. Hope this helps to you.

  • The OS Training link looks like it's Linux specific, but otherwise this is super helpful. Thanks. I don't think I can find my modules folder, or even connect via Drush to the instance of drush I want to copy from as it's cloud hosted (?). I may have to give up, but this would otherwise have worked I think. – Pureferret Nov 24 '14 at 12:02

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.