Upgrading: Difference between revisions
Line 17: | Line 17: | ||
=== Your data directory === | === Your data directory === | ||
This is where uploaded content resides (such as course resources and student assignments) so it is very important to have a backup of these files anyway. Sometimes upgrades may move or rename directories within your data directory. | |||
=== Your database === | === Your database === |
Revision as of 15:34, 2 July 2005
Moodle is designed to upgrade cleanly from any earlier version to any later version.
When upgrading a Moodle installation you should follow these steps:
Backup important data
Although it is not strictly necessary, it is always a good idea to make a backup of any production system before a major upgrade, just in case you need to revert back to the older version for some reason. In fact, it's a good idea to automate your server to backup your Moodle installation daily, so that you can skip this step.
There are three areas that need backing up:
The Moodle software directory itself
Make a separate copy of these files before the upgrade, so that you can retrieve your config.php and any modules you have added like themes, languages etc
Your data directory
This is where uploaded content resides (such as course resources and student assignments) so it is very important to have a backup of these files anyway. Sometimes upgrades may move or rename directories within your data directory.