drush

Drupal 7 Using drush to update modules

Path to the folder for my site: /home/user/domains/debuntu.info/

Path to the folder for backups: /home/user/backup/

Go into the site folder:

$ cd /home/user/domains/debuntu.info/

Enable maintenance mode for the site:

$ drush variable-set maintenance_mode 1

Clear all caches:

$ drush cache-clear all

Backup:

Subscribe to RSS - drush