Download & Extend

Drush Multi (drush_multi)

I use the following symbolic links structure on our servers and wrote a bash script for handling Drupal updates years ago.

Within this structure and this drush command, it is now possible to do that via drush.

Here is the very specific structure this command deals with for multi drupalupdate and multi create:

drupal/
|-- 6.x -> drupal-6.14
|-- 6.x_backup
|-- 6.x_profiles
|-- 6.x_sites
|   |-- all  
|   |-- default
|   |-- example.com
|   |   |-- files
|   |   |-- modules
|   |   `-- themes
|   `-- sub.example.com
|       |-- files
|       |-- modules
|       `-- themes
`-- drupal-6.14
    |-- includes
    |-- misc
    |-- modules
    |-- profiles -> ../6.x_profiles
    |-- scripts
    `-- sites  -> ../6.x_sites

Commands

drush multi-status
An extended drush core status
drush multi-site
Creates a site within the installation
drush multi-create
Creates a Drupal multisite installation, supports usage of drush_make makefiles
drush multi-drupalupdate
Updates the installation if there is a new minor release available
drush multi-exec
Removed: Execute a drush command on all sites (batch mode)
@see #652778: Similar functionality is in drush core 3.x
drush multi-sql-dump
An extended sql dump
drush multi-nagios
Command for use as nagios plugin to monitor Drupal sites and Drupal installations with exit status and status message

Requirements

Since this is an extension to the Drupal Shell aka drush

Drush Multi requires drush v. >=4.0[-dev -rc*] with a builddate newer or equal 27. Dec 2010 20:16:32 (1293480992).

Documentation

For more details like arguments, options, and examples, please take a look at the help provided by each command or take a look at the drush_multi Doxygen documentation..

Credits

Thanks to the mighty hundfred, friend and Bastard Operator from Hell.

This module was sponsored by ISL Individuelle System Lösungen.

Notes

This command still under development. Not for use on production sites.
Use at own risk!

Before running, make backups of your sites and data!
Try a dry run with -s / --simulate and -v / --verbose options first to see what will happen.

For something like a roadmap take a look at the todo list within the documentation.

Downloads

Project Information


Maintainers for Drush Multi (drush_multi)

  • fl3a - 144 commits
    last: 1 year ago, first: 3 years ago

Issues for Drush Multi (drush_multi)

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Statistics (2 years)
New issues
Open bugs
Participants

Resources