by Ken Task.
What's your 'workflow'? And reason for backing up courses only to turn around and restore them.
That for starting basically the same course only for different students?
One could make a course template that contains no students, back it up to a location outside of Moodledata, and then use moosh's restore command to restore that template course to a new course(s) in a category. Minor changes to those template courses would be needed, but that script using moosh could restore multiple templates much faster. Did make something like that for a user some time back.
In looking at your previous postings, appears your courses are 100% scorm - all activities (except for certificate) are SCORM's.
OR ... ever hear of 'reset'?
'SoS', Ken