Official Drush documentation
drush help command" to show help specific to one command.~/drush-backups)drush arr ~/drush-backups/archive-dump/20140522165827/vanillaDrupal.20140522_165827.tar.gz --overwrite drush dl projectIf you have devel enabled, then you can use this command:
drush dre project
Otherwise, run these three commands:
drush pm-disable project
drush pm-uninstall project
drush pm-enable project
On your local install version, do this to upgrade Drupal using Drush:
$ drush archive-dump
Another example: $ drush ard --description="taken prior to 7.31 upgrade"
archive-dump will copy the database and all the files. It puts it in a gzip tar ball and by default it goes to ~/drush-backups/archive-dump/
The AZ guys replaced the stock GNU tar file with the BSD version instead because GNU wasn’t handling special characters. OS X already uses the BSD version of tar.
web.config file (found in the root directory of the Drupal site, and in the /tools folder of Cyfernet)$ drush up drupalPrior to running the command, make sure you have write permissions and the webserver doesn’t have any locks on the files. This can be accomplished by stopping the website and then using Task Manager to kill the w3wp processes and php* process owned by the site you just shut down.
/update.php (if Drush didn’t do the database update portion for you.)/update.php after doing the pull/update.web.config with the copy you saved in step 2; you may have to manually tweak our copy./update.php if there were schema changes.