This document provides concise guidance for instructors on creating course and user backups in Moodle, including key differences and procedures. Backups generate .mbz files for archiving, duplication, or migration purposes.
Differences Between Course Backup and User Backup
Aspect
|
Course Backup
|
User Backup
|
Purpose
|
Archives the entire course structure, including activities, resources, and blocks.
|
Includes user-related data (e.g., grades, submissions) within a course backup.
|
Scope
|
Course-wide: Covers settings, content, and optionally user data.
|
Limited to user interactions; not a standalone backup but part of course backup.
|
Output
|
A single .mbz file with selected course elements.
|
User data embedded in the course .mbz file, optionally anonymized.
|
Access
|
Via Course administration > Course reuse > Backup.
|
Configured during course backup by enabling "Anonymize user information" option.
|
Creating a Course Backup
-
Log into Moodle and navigate to the target course.
-
Go to Course administration > More > Course reuse > Backup to start the wizard.
-
In "Initial settings," select desired elements (e.g., activities, blocks); user data is optional.
-
You can either jump to final step or choose next. Jump to final step is recommended if you just need to backup the whole course.
-
Refine selections in the "Schema" step, choosing specific sections or activities.
-
Review settings, customize the filename (e.g., CourseName_Date.mbz), and click Perform backup.
-
Access the .mbz file in your Course Reuse > Restore > Course backup area or download it directly.


Creating a User Backup
-
Follow the course backup steps above to initiate the wizard.
-
You can either jump to final step or choose next. Jump to final step is recommended if you just need to backup the whole course.
-
Enable Anonymize user information to replace identifiable details with placeholders for privacy.
-
Proceed through the schema, review, and perform the backup to generate the .mbz file.
-
Locate the file in Course Reuse > Restore > User private back up area for download or restoration.


Note: Always download the .mbz file to your OneDrive for secure, external storage to prevent loss due to Moodle server limitations.
Warning: There is no guarantee that backups can be restored perfectly, as Moodle upgrades over time may introduce compatibility issues with older .mbz files.
Restoring from Archive
-
Navigate to the course where you wish to restore a backup and select More from the administration menu.
-
Choose Restore to access the restoration interface.
-
To upload a new .mbz file, use the Upload a backup file section: click Choose a file, select your .mbz file, and click Restore.
-
To restore an existing course or user backup, go to the Course backup area or User private backup area, select the desired .mbz file from the list, and click Restore.
-
Follow the wizard to review settings, adjust user data options if needed, and complete the restoration process.
