portsole.blogg.se

Update drupal core 7 drush
Update drupal core 7 drush













update drupal core 7 drush
  1. Update drupal core 7 drush install#
  2. Update drupal core 7 drush update#

To completely backup a Drupal installation, you need to backup the files and the database. Feel free to explore the Drush help/documentation to learn about the shorthands and all options available for each command. Most Drush commands also have a shorthand version but I will be using the full commands in this post to better illustrate what each command is doing. Please note that the commands listed here are for Drupal 7 and Drush 5, so the commands may vary for different versions.

Update drupal core 7 drush update#

I will now describe the Drush commands I used to accomplish the above steps and update my multisite Drupal. There are some Drush commands that can be used to sync a Drupal database to a remote server that help you in managing a mirrored testing server, but those are out of the scope of this post. The Drupal update processĪccording to Drupal Core update instructions the update process involves more or less the following steps:Īlso, it is always best to do a trial run of the complete update process on a test server before updating production environment. It will list all the sites and ask for a confirmation before executing, so you always know when you are running a command on multiple sites. Luckily there is also a keyword that executes the command on all sites of a multisite installation. In a multisite installation you have to tell Drush which site you want to run the command on (or if you don’t, by default the command will be run on the default site). It saves you time and makes working with Drupal more enjoyable by not having to click around the Drupal admin interface that much. If you do Drupal development and are not using Drush, you really should.

Update drupal core 7 drush install#

Such as: run cron, clear caches, make backups, install modules etc. For anyone reading this who is not familiar with Drush, it is a command line tool used to manage a Drupal installation and run all kinds of Drupal commands. I had used Drush previously so I knew it can be a real time saver.

update drupal core 7 drush

Please share in the comments if you find it useful. So I decided to document my experience for later reference (to myself and others). The whole process felt a little bit daunting at first, but I managed to pull it off quite easily after all thanks to good preparation and research beforehand. Recently I had to update a Drupal multisite installation with 62 sites.















Update drupal core 7 drush