Badge data lost in course restore

Badge data lost in course restore

by Robin Sitten -
Number of replies: 4

During a recent backup/restore effort, badges were not restored with the course.

Good news is that the badges remain on the profiles of individuals who earned them. But because the badge is not found on the course itself, there is no metadata displayed when the individual's badge is clicked. I have attached a screenshot of what the student sees.

have you had any success restoring badge description and criteria from behind the scenes, without having to re-award the badge itself?


Robin Sitten

Perkins eLearning, Watertown MA

Average of ratings: -
In reply to Robin Sitten

Re: Badge data lost in course restore

by Helen Foster -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Hi Robin,

Can you confirm that you are backing up and restoring a course with user data and course badges? What is your Moodle version?

In reply to Helen Foster

Re: Badge data lost in course restore

by Robin Sitten -

Hello Helen, thanks for the reply.

We are pretty sure it is human error. Our hosting service alerted us that our server was nearing capacity, and recommended that we back-up courses and store .mbz files to a Google drive. We did intend to back up user data and course badges on the restore, and in most cases were successful.

We then deleted the classes from our Moodle drive. This was poor advice on many levels, mostly because we realized we lost course history from the students' profiles. We restored the .mbz files to Moodle, but the Badge information did not restore with all of them -- likely because the box was not checked in those cases.

Interestingly, the badges restored to the individuals' profiles - image and name of the course -- they even link back to a badge.php?hash=  page, which names the badge, but is otherwise blank

About 100 individuals in 3 courses are in this situation - badge image is noted on their profile, but no criteria or award history. We have that information; we don't know if it is possible to restore or recreate it for these individuals without giving them a 2nd badge.

I should say this is V. 2.9.6, so we are unable to delete the badge.

Robin


In reply to Robin Sitten

Re: Badge data lost in course restore

by Robin Sitten -

Closing this discussion.

We have documented the incident and can follow-up with individual badge earners as needed. It does not seem it is possible to recover data. System did as it was asked, but not when the user intended.

Robin

Average of ratings: Useful (1)
In reply to Robin Sitten

Re: Badge data lost in course restore [Closed]

by Helen Foster -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Thanks Robin for the update. Glad you managed to figure out what happened.

Average of ratings: Useful (1)