Guides · Migrations

Resetting a Moodle course for a new year

The Pulse module folder audit listing courses and their recording folders.

Course reset empties a Moodle course of last year's students and their work, and keeps the content ready for the next group. It is quick, it is done from inside the course, and it cannot be undone. This guide sets out what reset removes and what it leaves, the backup to take beforehand, and when a new course is the better choice.

Menu names are from the Moodle 5.3 documentation.

Before you press anything

The Moodle documentation is blunt: the user data you choose is deleted from the course forever. Take a course backup that includes user data before you reset. That backup is the snapshot you can restore if a grade, a submission or a forum thread is needed later. Keep it wherever your institution keeps assessment records.

This is the one time a backup with user data is the right one. For copies that leave the course, see our guide to a Moodle backup without user data.

Where reset is

Course navigation > More > Course reuse > Reset. Anyone with the reset course capability can use it; by default that is managers and teachers.

Small courses reset at once. From Moodle 5.2, a large course reset is queued and runs in the background, so you can leave the page and check the course when the task has finished.

What reset can remove

Section Options
General A new course start date, which moves every course date by the same amount. Delete calendar events, comments, course and activity completion data, and user notes
Roles Unenrol everyone with a chosen role, such as students. Remove role overrides and role assignments made in the course
Gradebook Delete all grades, or Delete all items and categories
Groups Delete groups and groupings, or only remove their members
Activities Options for the activities in the course: quiz attempts and overrides, forum posts, workshop submissions or a return to the setup phase, wiki pages and more

What reset leaves alone

  • Course logs. Reset does not delete them.
  • Role assignments outside the course. Only those made in the course are touched.
  • Activity grade items. Neither gradebook option removes the grade item an activity creates. Delete all grades clears grades and the hidden, locked, excluded and overridden settings on manual items; Delete all items and categories also removes categories and manual items. To keep the gradebook structure, choose Delete all grades on its own, and read our guide to setting up the Moodle gradebook before the new year starts.
  • Grades against the student. The documentation notes grades stay recorded against user accounts.
  • Content. Apart from the start date, every reset option is about user data. None edits resources or the text inside them, so last year's dates typed into a page, links to things no longer there and old recording links all stay.

Reset, or start a new course?

Moodle gives four ways into a new year. They suit different needs.

Route Where User data Fits when
Reset Course reuse > Reset Deleted from this course You keep one course per module and its history is backed up
Restore a backup as a new course Course reuse > Restore, Destination: new course As chosen at backup You want last year's course kept as it was, with a new name and start date
Import Course reuse > Import Never included You are pulling content into a course that already exists; course image and summary do not come across
Course copy Course reuse > Course copy Optional, with Include user data You want a new course quickly; it needs cron, and the documentation says it does not currently work for teachers or managers when the course contains a quiz

If the restore route stalls on pending, our guide to a Moodle course restore stuck on pending has the checks.

A reset, step by step

  1. Back up the course with user data, and confirm the backup has finished.
  2. Open Reset. Set the new course start date.
  3. Under Roles, unenrol students. Leave teaching staff if they continue.
  4. Under General, delete completion data, so the new group starts from nothing. Our guide to Moodle completion tracking covers setting it up again.
  5. Under Gradebook, choose Delete all grades to keep the structure.
  6. Choose groups and activity data to clear.
  7. Run the reset, then check the course as a student would see it.

A worked example

At a demo university a module leader resets an introductory module in August.

  • The backup with user data is taken and stored with the year's assessment records.
  • The start date moves forward by a year, and every activity date moves with it.
  • Students are unenrolled, grades deleted, the gradebook categories kept.
  • A page called "Week 3 reading" still says "due 14 October" in its text. Reset moved the activity's due date, but not words typed into a page.

The last point is the one reset cannot fix, and the one students notice.

Six checks for every rolled-over course: dates, links, files, duplicate titles, empty sections and recording links

Check the content after a reset

Reset clears people and their work. It does not check what the content says. Make a backup of the reset course without user data and open it in Bradawl Content Check. It works with Moodle, runs in your browser and sends nothing anywhere, and lists dates against the new course start, links against what is in the course, missing files, duplicate titles and empty sections. It has been tested on invented data, and no findings is not a sign-off that a course is ready. Download Content Check. For lecture recording links that still point at last year, see course rollover and recording links, and for the full list, the Moodle rollover checklist.

Moodle is a trademark of its owner. Bradawl is independent and not affiliated with it.

Related guides

Panopto, Blackboard, Moodle, Canvas and Microsoft Teams are trademarks of their owners. Bradawl is independent and not affiliated with them.