Site restore for low-tech users: Difference between revisions
From MoodleDocs
Frank Ralf (talk | contribs) |
Tim Bahula 2 (talk | contribs) m (→phpMyAdmin: clean up, typos fixed: , → ,) |
||
Line 19: | Line 19: | ||
# Open the database to restore | # Open the database to restore | ||
# Click the SQL tab. | # Click the SQL tab. | ||
# On the "SQL"-page , unclick the show query here again. | # On the "SQL"-page, unclick the show query here again. | ||
# Browse to your backup of the database. | # Browse to your backup of the database. | ||
# Click Go. | # Click Go. |
Latest revision as of 15:49, 14 July 2022
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
- Open the database to restore
- Click the SQL tab.
- On the "SQL"-page, unclick the show query here again.
- Browse to your backup of the database.
- 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"
- The Moodle code
- The Moodledata directory