Drush is a shell-based application used to control, manipulate, and administer Drupal sites. On the surface, drush is an excellent tool for updating site modules, but here is a more comprehensive list of features for drush:
- Quick status report (get Drupal site version)
- Run cron
- Clear caches
- Export site databases (SQL dump)
- Update site code
- Update Drupal database (run "update.php")
- Get Info & Download Any Module & Themes
- Enable/Disable/Uninstall Modules & Thems
- Simulate updates/commands
- Sync environments (perfect for DEV-STAGE-PRODUCTION)
- plus modules offer drush add-ons, like Module Builder, Devel, Hacked!, plus many more.
You can see a list of some Drush commands available.
View the official list of modules that have Drush add-on commands available.
2009 Drush MVP Award goes to "Drush Make"
Drush and Godaddy
I know what your're thinking:
[cringe]Godaddy[cringe]
I'll be changing hosting away from them once my contract ends but anyway...this is a little ditty on how to get Drush to work on godaddy(very hacky solution ATM). I wrote this because godaddy has PHP4 in the $PATH. I needed to get drush to run with PHP5.
Using drush rsync with passwords
Is there any mechanism to use drush with a hosting service that does not support the use of public key authentication?
thanks
paul
Read moreQ? Which Drush for version 6.22?
Fellow Drupallers;
Just upgrading to 6.22 and am having issues with Drush. I believe I'm running Drush version 4.5-dev (according to drush --version).
My update status report shows "current drush version not supported"!
From those of you using 6.x what Drush version should I install?
Thanks all -
Read moreStaging to Production without overwriting content
When I sync from my Staging system to the Production system, content created on the production system (such as a new node) is lost.
What are methods for using drush rsync and drush sql-sync to avoid overwriting content?
Is there some way to specify to not overwrite nodes/comments created/modified by me? (As I'm the only user on the Staging system.) Any other processes/methods?
What is the most up-to-date deb repository for drush
Hi all,
I'm looking for an up-to-date drush repository for my ubuntu installation? I did found somes, but they're not handling the last version.
Witch one are you using?
Thanks!
Read moreMAC - drush error after migrated to another account (wont run)
Hi there!
Im running a Mac OS X Lion and I migrated my user account to a new one, the old one was very slow and I had a hard time figuring out what was happening there. So I migrated to a new user account, updated MAMP and and tried to run drush. MAMP is going good, everything works (mysql is on, php is on, my sites on drupal run as well).
Now, everytime i run drush i get this in my terminal
"Warning: require_once(/usr/bin/includes/environment.inc): failed to open stream: No such file or directory in /usr/bin/drush.php on line 26
Read moreupgrading drupal versions
Hello, eternal noob here. i have been reading about drush, just havent tried to use it yet. question. does drush make it easier to upgrade from say drupal 7.1 to 7.3? i am not clear on that. thanks.
Read moreGetting drush to work on my MacBook Pro...
I had the pleasure of being introduced to drush at this past meetup, and wanted to provide some detail that might serve someone else.
I run a MacBook Pro, and MAMP as a local development server.
I followed Mike's recommendation of using a path alias to the actual drush directory, so that it would be accessible from Terminal:
I placed the uncompressed drush directory in:
/Users/ben/Applications/
and ran the alias script, following Mike's recommended course of action:
"3. (Optional, but recommended:) To ease the use of drush,
Read moreAnyone experience segmentation fault with Drush under *nix?
Occasionally I've seen this error but lately it occurs EVERY time I try to run Drush. If anyone was able to overcome this would they please share? You can imaging what's progress is like when up against the brick-wall!
Read moreA new drush command to generate apache VirtualHost configurations
Hello all,
Just wanted to let you know that I've pushed a new drush command to this github repository.
What it does is generating a VirtualHost section for the Apache configuration, which allows you to easily add new virtual hosts to your system.
It saves me some time, hope you'll find it useful too.
Thanks for your attention, looking forward for comments and suggestions.
Read moreDoes anyone know about a good tutorial for remote aliases?
Hi there,
I understand that you can use drush installed locally, on a remote server without the need to use ssh, through an alias. Is this correct? Do you people know about a good tutorial out there? I have a bluehost account and they ask for some ID faxed to them, I do not live in the US and i dislike the idea of having to scan an send an ID. Not happening.
Thanx in advance!
Read moreSync enabled modules between sites
So in the process of updating my development site, a new module has been installed. One of my previously installed modules has since become dependent on this new module.
So to get this on to my live/staging site, I use version control to update so that it has the same code as my dev site.
Now I have an issue, I need to enable that new module.
I could simply enable the module manually in drush, but there could be several modules, and I may accidentally miss one.
Read moreA Drush Tutorial that's not a webcast
First of all, apologies if this ends up cross-posted.
In case anyone is interested, I've been looking for ages for a nice, simple introduction to Drush that doesn't involve downloading an enormous video file, i.e. something that would work in Instapaper. Eventually I gave up and wrote my own, and I've been using it to educate colleagues who haven't quite understood what Drush can do yet.
You can find the article at: http://www.opc.com.au/web-development/introduction-drush-drupal-power-tool
Comments and feedback welcome - especially if something is misleading or incorrect.
Read moreDrush extras for secure and gzipped SQL dump
Hello,
I've just set up a github repo with a couple of drush extra commands for provinding secure and compressed SQL dumps.
The secure version uses openssl for encrypting the compressed dump. I thought this might be of use to someone, and who knows, the drush team can find it interesting enough to be included in the official release ;)
Thanks,
António
What's your favorite use of Drush vset?
The more I learn to do with Drush, the more efficient I become. One trick that's saved me a lot of time is setting certain Drupal variables with the vset command instead of clicking through the standard admin interface—for example, putting the site in maintenance mode by setting site_offline to 1. Here are four variables I find useful to set via Drush. What are everyone else's favorites?
Documentation for writing drush commands
I am working on a site that does a lot of importing data from external sources, and I want to write some drush commands to do this. In looking around, I haven't been able to find any documentation for writing drush commands, such as the available hooks, format and return values for each hook, etc., other that looking at existing code. Once I get everything figured out I will write some documentation (either blog posts or handbook pages), but I don't want to reinvent the wheel if I don't need to (it's very possible I just didn't search well enough).
Read moreHorizontally Scaling Drupal Workshop - Sydney - 17 Nov 2010
Made by Morgan is partnering with Dave Hall Consulting to offer a full day workshop on Horizontally Scaling Drupal. The workshop will cover:
- Aegir
- Drush
- Drush Make
- Installation Profiles
- Features
- Strong Arm
Places are limited to ensure everyone gets the attention they need. Tickets are $249+GST.
Read moreNon-profit Site developed for FREE

We have just donated 50 hour of FREE drupal development time to develop http://talabarowari.co.in a Hindu community web site as part of our yearly promise of 100 hour of FREE drupal development time to non-profit org.
We have used the following modules to develop the site.
- Context,
- Ctools
- CCK
- Views
- Features
- Exportables
- Lightbox2
- path-auto
We have created on drush-make file to create a distro and one install profile to installation.
Read moreOdd behaviour with site-install drupal 7 on Ubuntu 10.04
Before I add any bugs I need to ask you guys and gals if the results I'm getting are expected behaviour. I'm running Ubuntu 10.04 with PHP 5.3.2 and MySQL 5.1. Drush 3.3.
1st behaviour --sites-subdir:
drush dl drupal-7.x --drupal-project-rename=drupal
cd drupal && drush si standard --db-url=mysql://user:password@localhost:3306/drupal --sites-subdir=drupal.local
You are about to create a sites/drupa.local/files directory and create a sites/drupal.local/settings.php file and DROP your 'drupal' database and then CREATE a new one. Do you want to continue? (y/n): y
Read moreSecurity Alert - Säkerhets Varning Drupal 6.19
I am Swedish but I thought it might be a good idea to post this in English just in case some Drupal exploit God comes in from …. wherever.
Read more










