Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6564

Raw copy of course and contents, Moodle 1.9

$
0
0
by Morten Pless.  

Greetings Moodlers!

Just wondering if anyone has got this in stock....
I need a script to copy a course and its contents in to a new course. No userdata is needed.

I need it because we have been using the restore functionality (silent), but it tends to time out with some of our courses.
And i ask the question here, because i do not have the complete picture of which tables to copy from.

Btw:
The userscenario is that a user has access to create a copy of an unenrollable "mastercourse". This is currently done with an Ajax call that invokes the silent restore. Then the user is enrolled into the course as teacher, some coursesettings are updated and the course appears in the users courselist. Pretty smooth so far....
Sadly, the restore procedure times out (in some occations).

Hoping for the magic solution from you guys smile

Best regards
Morten Pless


Viewing all articles
Browse latest Browse all 6564

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>