Last updated April 17, 2013. Created by bekasu on August 14, 2009.
Edited by brst t, mavaddat, boran, EMdash. Log in to edit this page.
Upgrading your Drupal installation
Upgrade vs. Update
Before you continue reading, we need to define the difference between upgrading and updating:
- Upgrading refers to moving from one major release to another, e.g. you are moving from Drupal 6 to Drupal 7.
- Updating typically refers to bringing your site up to the latest minor version of Drupal, e.g. such as updating from Drupal 6.12 to Drupal 6.14.
For information on updating your Drupal site see: http://drupal.org/node/390448
Upgrading your Drupal installation
The process of upgrading to the latest version of Drupal can vary in difficulty depending on the complexity of your current installation. This guide aims to help you plan for and complete a successful upgrade regardless of the size or complexity of your current site.
Any Drupal upgrade has four general steps: Planning, Preparing your current site for upgrade, Upgrading, and Testing.
Before you begin reading this guide, please make note of the following.
Upgrading Between Versions
You can only upgrade from one major version to the next major version. For example, you are trying to move from Drupal 5 to Drupal 7. You first need to upgrade to Drupal 6 before you upgrade to Drupal 7.
Backing Up Your Existing Site
Regularly backing up your site is considered a best practice. A full backup of your site database, core Drupal files, non-core files (e.g. contributed modules, and file upload folders), and directory/file permissions (if running on Linux) is strongly recommended before starting any site upgrade.
You may also wish to familiarize yourself with restoring your site from a backup prior to starting your upgrade. If something should go wrong during your upgrade and you need to restore your site from backup, it is best to be prepared so you can restore your site quickly. See [link] for more information on how to back up and restore your site.
You should also review Copying a live site via command line.
Support Resources
- Drupal core issue queue (http://drupal.org/project/issues/search/drupal), set component="database update system" and select a version. Current 7.x active issues: http://drupal.org/project/issues/search/drupal?&status%5B%5D=1&version%5.... See also http://drupal.org/project/examples
- Contributed modules offer information either on the description page or in the issue queue. Set the 'Version' filter to '7.x' to find related issues (eg. 'Views') and particularly for modules lacking stable D7 versions, search 'Upgrade D7' to maybe find some info and pointers beyond the dead end.
- Drupal theme upgrade : http://drupal.org/update/themes/6/7
- Javascript and jquery : http://drupal.org/node/171213