Book Image

Drupal for Education and E-Learning

Book Image

Drupal for Education and E-Learning

Overview of this book

Table of Contents (22 chapters)
Drupal for Education and E-Learning
Credits
About the Author
About the Reviewers
Preface
Index

Upgrading Core


Before upgrading core, you should do two things:

  1. Back up your database, and test this backup by copying into an empty database.

  2. Back up the sites directory. The sites directory contains the files directory, the modules directory, the themes directory, and your settings.php file—all of which are critical elements of your site.

Once you have completed these steps, you are ready to proceed with your upgrade.

Upgrading Core—The Short Version

When performing a core upgrade, we will replace the old version of Drupal core with the updated version. This process involves three steps:

  1. Log into the new site as UID1; place the site in maintenance mode, and run update.php

  2. Download the new codebase from http://drupal.org/project/drupal.

  3. Extract the Drupal codebase

  4. Delete the sites directory from the freshly downloaded codebase; replace it with the sites directory from your existing site

  5. Replace the existing codebase with the new codebase

Upgrading Core—The Detailed Version

These more-detailed directions...