2

Backing up and Restoring a Course

Margarita Berezyanskaya

Last Update 8 days ago

A very important skill for an editing teacher is how to create a backup of a course. Using the backup function allows teachers to retain a copy of a course that they have customized for future reuse. The backup file can be downloaded and stored safely on the teacher's own computer. Because Moodle is an open-source learning management system widely used in education and training, teachers can restore a course for reuse elsewhere.


Teachers developing a course should familiarize themselves with the backup and restore function. This feature allows them to create backups at regular intervals and revert to a previous version if needed.

Backing up a Course

These instructions explain how to back up a course with students and course data.


1. Open your course. On the Course navigation menu, click on the More option.



2. In the drop-down menu, click on Course reuse.



Note: The Course reuse screen appears.


3. Click on the Backup option.

Note: The Backup screen appears.



4. Deselect items in the list that you do not need in the backup.

Note: Consider this example, as it does not back up student information or activity.



5. Click the Next button.


6. On the Schema settings screen, note that all items are checked to be backed up, but user data from any previous user activity is locked and not included in the backup.



7. Click on the Next button.



Note: The Confirmation and review screen appears. The output filename is made available.



Note: Instructors can change the filename for improved readability.  In this example, it will be changed to backup_CLB4_Beverly_Sept_09_2025.mbz



8. Scroll down and click the Perform backup button.



Note: The backup process is pending, which indicates that it may take some time to complete.



9. Click on the Continue button.


The Restore Course page appears.


Your new backup file will appear in the section, User private backup area. If there are multiple backup files, locate your new file by the Filename or Time columns.


10. Click the Download link next to your backup file to save a copy on your computer. It is good practice to keep backups of important work in more than one location.


 

Restoring a Course

It is necessary to have a Moodle backup file to restore a course. The extension for this type of file is .mbz. See the Backing up a Course section of this article for step-by-step instructions on creating a course backup.


1. Open your course, click on the Actions menu icon.



2. In the drop-down menu, click on Restore.



The Restore course page appears.


3. Locate (or upload) the target backup file and click the Restore link.



4. The Confirm page appears with all course details. Scroll down and click the Continue button.



5. The Destination page appears. Select Delete the contents of this course and then restore unless you want to add new content to the existing course.



Teachers who are can edit more than one course will have the option to restore the backup file into those courses. Restoring in these courses includes the same options of deleting or adding it to existing content in the target course.


6. Click on the Continue button.


7. On the Settings screen, click Next to retain the same settings as the backup.


8. On the Schema screen, scroll down and click on the Next button.



Note: The default settings will mark everything in the backup file with selected check boxes. Teachers can deselect the checkboxes if they do not want that content restored.

9. On the Review screen, review the content being restored and then click the Perform restore button.


10. A message appears confirming the restore process was successful.


11. Click the Continue button to complete the course restore.

Resources