Note: You are currently viewing documentation for Moodle 3.7. Up-to-date documentation for the latest stable version of Moodle may be available here: Site restore for low-tech users.

Site restore for low-tech users

From MoodleDocs


This page is a work in progress in November 2010.

There are 3 areas of Moodle that should be backuped and thus can be restored:

  • The database (for example MySQL)
  • The files uploaded or created by Moodle (Moodledata directory)
  • The Moodle code itself

The location of these areas can be found in the Configuration file.

Restore database

Here are some ways to restore typical Moodledata bases such as MySQL

phpMyAdmin

The phpMyAdmin restore process is about as simple as it's backup process. To restore:

Restoring a backup of a MySql database

  1. Open the database to restore
  2. Click the SQL tab.
  3. On the "SQL"-page , unclick the show query here again.
  4. Browse to your backup of the database.
  5. Click Go.

MySQLDumper

[TODO]

Restore files

There are 2 areas which can use the same techniques to backup and restore because they are stored in files and folders"

See also