Forum LAMS for Tech-Heads - General Forum: Re: Re: Moodle backup of lams activities


 
Search: 

3: Re: Re: Moodle backup of lams activities
In response to 2 02/09/09 10:26 AM
[ Reply | Forward ]
Thanks, this confirms my suspicions about how it works.

The trick is actually implementing it.

In our case, we needed to move the moodle course and lams activities both to a new server. We had to manually export every lams sequence, and import it into the new lams server, then recreate the lams activities in the moodle courses to point to the newly imported lams sequences.

Our clients want a one step backup procedure. They don't want to have to think about where the content is stored.

Posted by Dave Bauer

4: Re: Re: Re: Moodle backup of lams activities
In response to 3 02/09/09 04:18 PM
[ Reply | Forward ]
Dave, Jun-Dir,

I know there's a webservice interface in LAMS to import sequences from the file system. That's what I use when people upload sequences into the LAMS Community, I "push" them to LAMS telling it where to get the zip file from the file system. That works quite well.

However, I don't think we have an import call from webservices.

Dave, let me find out if we can create one for you easily and we get back to you.

Thanks,

Ernie

Posted by Ernie Ghiglione

5: Re: Re: Re: Re: Moodle backup of lams activities
In response to 4 02/10/09 10:49 PM
[ Reply | Forward ]
I have added functionality like this to LearningDesignRepositoryServlet. See http://bugs.lamsfoundation.org/browse/LDEV-2129

Now a call like this will return an exported sequence in the request:

http://172.20.100.188:8080/lams//services/xml/LearningDesignRepository?method=exportLD&learningDesignID=1&format=1&datetime=xxx&serverId=xxx&username=xxx&courseId=xxx&country=xx&lang=xx&mode=1&hashValue=xxx

Added parameters:
&method=exportLD
&learningDesignID=1 -The learning design id that you want to export
&format=1 -The format you want to export in (1=zip, 2=IMS)

These changes will be included with 2.3

Posted by Luke Foxton

Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum