how to restore moodle course from backup

by Cristobal Haley 10 min read

  • Go to Settings > Front page settings > Restore or Settings > Course administration > Restore
  • Upload the backup file or choose a file in the course backup area or user private backup area and click Restore
  • Confirm - Check that everything is as required then click the Continue button
  • Destination - Choose whether the course should be restored as a new course or into an existing course then click the Continue button
  • Settings - Select activities, blocks, filters and possibly other items as required then click the Next button
  • Schema - Select/deselect specific items and amend the course name, short name and start date if necessary then click the Next button
  • Review - Check that everything is as required, using the Previous button if necessary, then click the 'Perform restore' button
  • Complete - Click the continue button

Restoring a course backup
  1. Go to Settings > Front page settings > Restore or Settings > Course administration > Restore.
  2. Upload the backup file or choose a file in the course backup area or user private backup area and click Restore.
  3. Confirm - Check that everything is as required then click the Continue button.
Jul 5, 2012

Full Answer

What is the backup and restore process in Moodle?

The backup and restore processes can offer the teacher and administrators many creative solutions. Duplicating courses or specific activities in one course to another course (similar to Import) Updating a production Moodle site course, with material from a localhost site course Transferring a course to a new Moodle site.

How do I restore a Moodle course from a zip file?

If you are restoring from a zip file backup make sure the moodle.xml file is at the root level. To ensure this: Unzip the backup file of the course (example: mycourse.zip) Once the file is unzipped, open the folder (example: mycourse).

How do I restore an empty MoodleCloud course?

(Instructions are for MoodleCloud but also apply to other sites.) With the Boost theme click the gear menu and then 'Restore' Otherwise, go to Site administration > Front page settings > Restore (if you have front page permissions) or Administration > Course administration > Restore (if you have an empty course to restore into.)

Why is my Moodle course not working after a backup?

Usually, it's caused by some "illegal" characters added in the original course due to some copy/paste of text containing them (control characters, or invalid sequences...). The best method to handle this issue is: Unzip the problematic backup file under one empty folder. Open the moodle.xml with Firefox.

How do I restore my Moodle?

With the Boost theme click the gear menu and then 'Restore' Otherwise, go to Site administration > Front page settings > Restore (if you have front page permissions) or Administration > Course administration > Restore (if you have an empty course to restore into.)

How do I download a backup course in Moodle?

Downloading a backup fileGo to your course site in Moodle.Find the Administration block: Click Restore.Go to the User private backup area.Find your backup file. (The most recently created file will be at the top of the list.) ... Click Download to copy the backup to your hard drive.

Where are Moodle course backups stored?

To find the backup file for a course, go to the front page of that course, click Administration->Files, and look for a folder named backupdata. The backup file for the course should be found in that folder. If you don't see a backupdata folder, or if the folder is empty, then backups are not being made.

How do I open a backup in Moodle?

On Moodle in the Cloud (umass.moonami.com), on the Course Management panel, under Course Settings, select Restore. The Restore page will open. On Legacy Moodle (moodle.umass.edu), on the Course Management panel, under Course Settings, select Manage backups. The Manage backups page will open.

How do I open a Mbz file?

ZIP files, you can extract the contents in the archives by renaming the . mbz file extension to . zip. Then, extract the contents using a Zip-decompression utility, such as Corel WinZip or Apple Archive Utility.

How do I copy a course in Moodle?

Course copy from Course and category management screenFrom Site administration / Courses / Manage courses and categories, click to select a category.Find the course you want to copy, and click the duplicate icon to copy the course.

How do I import a course content into Moodle?

InstructionsGo to the Moodle page for the new course and click the "Course Management" gear icon in the top menu bar.Click "Import".On the next screen, you will search for the course you want to import from. ... Select the course you want and click Continue.Choose what Moodle components you want to import.More items...

What does site backup and course backup mean?

A course can be saved with some or all of its parts by using the course backup. Typically, the site administrator will set a schedule of automated course backups for the whole site. A teacher can create a backup or download an existing backup for safe keeping, or for use on another Moodle site.

How do I import a Mbz file into Moodle?

To restore course information from a backup . mbz fileIn Moodle, select the course to which you want to restore or materials from the archived course.Click Restore from the Course Administration menu. ... Upload or select the . ... Click Restore.More items...•

Restoring a course backup

A course backup file (.mbz) may be restored from within any existing course for which you have permission. During the restore process, you will be given the option to restore as a new course or into an existing course.

Restoring from course and category management screens

Users with permission to access Site administration > Courses > Manage courses and categories or Site administration > Courses > Manage courses and categories > (Category name) can restore courses from here:

General restore defaults

An administrator can set defaults and lock selected restore settings in 'General restore defaults' in the Site administration. If a setting is locked, then it can not be changed when restoring a course.

Restorer role assignment

The setting in Site administration > Users > Permissions > User policies > Restorers' role in courses controls whether a user doing a course restore will be assigned a role in the restored course or not.

Restore via CLI for administrators

In Moodle 3.10 onwards, site administrators can restore large backup files using a CLI script.

Restoring a course backup

A course backup file (.mbz) may be restored from within any existing course for which you have permission. During the restore process, you will be given the option to restore as a new course or into an existing course.

Restoring from course and category management screens

Users with permission to access Site administration > Courses > Manage courses and categories or Site administration > Courses > Manage courses and categories > (Category name) can restore courses from here:

General restore defaults

An administrator can set defaults and lock selected restore settings in 'General restore defaults' in the Site administration. If a setting is locked, then it can not be changed when restoring a course.

Restore via CLI for administrators

New feature in Moodle 3.10! In Moodle 3.10 onwards, site administrators can restore large backup files using a CLI script.

How to backup a course?

To backup a course. Go into the course. Click the Backup link either in the gear menu or the Administration block (depending upon the theme). Initial settings - Select activities , blocks, filters and other items as required then click the Next button. Users with appropriate permissions, such as administrators and managers, ...

Can you continue working while a course backup is being made?

Note: With large courses it is helpful to be able to continue working while a course backup is being made. To achieve this, you need to enable asynchronous backups in Site Administration / Courses / Backups / Asynchronous backup/restore .

Can you save a course on Moodle?

Course backup. A course can be saved with some or all of its parts by using the course backup. Typically, the site administrator will set a schedule of automated course backups for the whole site. A teacher can create a backup or download an existing backup for safe keeping, or for use on another Moodle site.

image