Course Restore

Course Restore

โดย bob tagarth -
Number of replies: 3

Hi, Im building a specific system for a third world teaching initiative. The problem is we have some old courses in a specific format and I would like to be able to restore them into moodle (as there are over 100 of the courses from a previous system). 

Could someone point me towards the following

  1. are their any developers docs releating to the course restore process
  2. Which php file within moodle 2 manages the course restore? 

I think im going to create another version of the existing system to handle my archive courses but could really do with being pointed in the direction of where the process actually happens. 

Cheers

Bob

การประเมินโดยเฉลี่ย: -
In reply to bob tagarth

Re: Course Restore

โดย Mary Cooch -
รูปภาพของDocumentation writers รูปภาพของMoodle HQ รูปภาพของParticularly helpful Moodlers รูปภาพของTesters รูปภาพของTranslators

Which "specific format" are these old courses in?

การประเมินโดยเฉลี่ย: -
In reply to Mary Cooch

Re: Course Restore

โดย bob tagarth -

Hi, would the format effect the file responsible for restoring courses? im not sure if its relevent but the format is .stu ... and its the compressed format of an old hand built vle system the charity i work for used to use. it was made by our own developers about i8 years ago and is no longer suitable. if someone could point me in the direction of the php file that processes restoring a moodle course file i can make the adaptwtions i need. cheers

การประเมินโดยเฉลี่ย: -
In reply to bob tagarth

Re: Course Restore

โดย Helen Foster -
รูปภาพของCore developers รูปภาพของDocumentation writers รูปภาพของMoodle HQ รูปภาพของParticularly helpful Moodlers รูปภาพของPlugin developers รูปภาพของTesters รูปภาพของTranslators

Hi Bob,

I just tried searching our developer docs for restore and came up with http://docs.moodle.org/dev/Restore_API. Not much detail unfortunately, however if you ask sensible questions in this forum, it may prompt people to write further dev docs.

One approach you could try is create a course in Moodle similar to your old courses, then create a course backup and examine it to see whether you could change your old courses into the same format. In addition to Moodle course backup and restore, you could also investigate IMS Common Cartridge import and export. This method works well for importing data elsewhere in Moodle, though I appreciate course import is a lot more complicated!

การประเมินโดยเฉลี่ย: -