If you don't want to maintain separate course shells for each term that retain all of this data you can simply backup the course with student data or export a copy of the gradebook before the course is re-set and the students un-enrol.
Gradebook
Retain Grades After Unenrollment
Eztabaida hau blokeatu da eta beraz aurrerantzean ezingo duzu bertan erantzun.