This nifty tool allows you to convert a moodle course backup into a spreadsheet to easily update course information in bulk, such as due dates of exercise submissions. Once you edited the spreadsheet to your liking, you can patch your course backup with the changes in the spreadsheet to generate a new backup that can then be imported into moodle. This conversion and patching happens all in your browser, no course data will leave your device. If something is not working or a feature is missing, feel free to open an issue or pull request on GitHub.
Navigate to your existing course that you want to use as a template and navigate to "Course Reuse" within the course administration menu.
https://moodle.example.com/backup/backup.php?id=YOUR_COURSE_ID
.
Here you can freely select what you want to export, the only important setting is to NOT check "IMS Common Cartridge 1.1" so that the resulting backup is in Moodle's native backup format .mbz
.
Now you can use your favorite spreadsheet application to update certain properties of the course's activities.
Property | Assignments | Quizzes | Label | Section | Other |
---|---|---|---|---|---|
name |
โ | โ | โ โด | โ | โ |
completionexpected |
โ | โ | โ | โ | โ |
availableFrom ยน |
โ | โ | โ | โ | โ |
availableTo ยน |
โ | โ | โ | โ | โ |
allowsubmissionsfromdate |
โ | โ ยฒ | โ | โ | โ |
duedate |
โ | โ ยณ | โ | โ | โ |
cutoffdate |
โ | โ | โ | โ | โ |
intro |
โ | โ | โ | โ | โ |
Legend: โ = supported, โ = not supported, โ = partially supported |
allowsubmissionsfromdate
is internally mapped to moodle's timeopen
duedate
is internally mapped to moodle's timeclose
name
of a label is a shortened readonly version of intro
, therefore you might want to edit intro
instead [#1]
โ You first have to select your Moodle backup file in step 2.
The following overview gives you a rough preview of the patched course. You can optionally also modify files and corresponding metadata that are attached to activities of your course here.
โ You first have to select your patch file in step 4.
Now navigate to your new course where you want to import the patched backup and navigate to "Course Reuse" within the course administration menu.
https://moodle.example.com/backup/restorefile.php?id=YOUR_COURSE_ID
.
Here you can simply drag-and-drop your patched .mbz file or upload it using the file chooser.
โน We highly recommend to only use the restore process to provision empty courses and not update existing courses. The later might otherwise result in data loss, depending on your user's privileges.
๐ณ๏ธโ๐ ๐