How to restore Moodle
This article covers the procedure for restoring your Moodle installation. There are two components to be restored, namely the website files, and the database.
Database restoration
- In phpMyAdmin select the Moodle database and choose the Import tab.
- In the File to import section click Browse.
- Browse and select your backup file.
- Click Go.
- The SQL file will now be uploaded and your database will be restored.
Moodle files
- Use an FTP client, or the web host file manager, to upload the website files to the host directory.
- Edit the following /config.php entries, to reflect new database and site directories as required.
- $CFG->dbname
- $CFG->dbuser
- $CFG->dbpass
- $CFG->dataroot
- $CFG->dirroot
More articles of interest...
Thank you for your feedback
|