by Bob Puffer.
If you have backups of your courses, I'd restore the backup to a new course and manually reenter the grades.
If you don't have backups then you may be perusing the mdl_grade_grades_history table.