The importance of Moodle backups

The importance of Moodle backups

There is a phrase, or it may even be a brand slogan that says, “If it’s worth creating, it’s worth backing up“.  And from my experience this week, nothing could be closer to the truth.

As the size of the Leeds City College Moodle grows, so does the number of assignments, grades and feedback.  And as this grows, the critical importance of Moodle grows with it.  And ultimately it’s all my responsibility, sadly my salary doesn’t grow inline with it.

Last week we experienced a glitch that could have been catastrophic if it wasn’t for our regimented backup routines.
It was brought to my attention that a tutor on a course deleted a student assignment that had been uploaded in the wrong place.  The delete worked but it also deleted every other assignment in the course and every grade and feedback.

And that’s where the panic kicked in.

Over 335 assignments had gone, along with the tutors feedback.  This left me with 2 options;

  1. get each student to resubmit every piece of coursework from scratch and ask the tutor to re-grade them, or
  2. restore what I can from the backups

Option 1 was not possible, nor was it fair on the students or tutors.

Our Moodle database is backed up each day, the Moodle Data Directory is incrementally copied to a remote server so we can always roll back at least 24 hours.  Sometimes even further if required.

I couldn’t simply do a course restore as the course was in full time use, and since the disaster other students had submitted other assignments.  So to restore the course would lose even more data.

So I had to fix this “old school” .  By extracting the assignment submission entries from a database backup 24 hours before and then manually log in as each student and resubmit the original files.  By importing the submission data I was able to restore the feedback and grades.

And yes, there were over 335 to do, and this involved finding the file, saving it locally, logging on as the student, uploading the file, logging out and repeating the process each time.  Needless to say, it took me 3 days.  My eyes were strained, my wrist in tatters and my will to live in pieces but I got there in the end.  Luckily it was only 335, and not the 16,000 uploaded since September.

Had I not had a backup then we would have lost over 300 assignments, and the feedback, and this is all crucial to our students future and qualification grade.

If you take anything from this blog post, aside from sympathy for me…then please…devise and implement a solid backup plan…it could save your sanity and your job.

Now I  just have to figure out what caused the assignments to all disappear in the first place…

Previous post Moodle and e-commerce shopping carts
Next post Moodle Mobile Usage