A colleague recently shared the following request with me and I thought I’d share my response for criticism and feedback:
Gentleman, I seek some guidance on where I might find an admin tutorials or papers to help understand moving uploaded files from v.1.9.4 to v.2.0.3 (Legacy Files). We have reviewed variety of Moodle documentation on Legacy files but have not resolved this issue yet.
We have exported/imported existing course shells and any embedded web links, and Moodle original content (ex: quizzes) across versions successfully. What is not transferring are files that were ‘manually’ uploaded into the Moodle v.1.9.4 data base
My response and I welcome correction and other opinions:
Howdy! Thanks for your email.
A few questions:
Did you upgrade the Moodle 1.9.4 to Moodle 2.x?
Or, are you backing up a Moodle 1.9.4 course and trying to import it into a Moodle 2.x?
My experiences for upgrading Moodle 1.9.x with files intact to 2.x has involved restoring a course that I want to upgrade to 2.x into a Moodle 1.9.x, then upgrading the whole Moodle instance. Then, making a backup of that upgraded Moodle course and importing it into my regular Moodle 2.x instance. That means, of course, that I setup a Moodle 1.9.12+ instance, restore backup course I want to upgrade, then upgrade the whole instance to 2.x. So far, it’s worked for me and has been the smoothest approach.
Also, what types of files are involved? Is the web address/URL to these files absolute, and could you do a SQL dump (which results in a large text file) of the files, then do a find-n-replace, drop the original (make a backup) database, then import the SQL dump so it recreates the database with the updated URLs?
Finally, I don’t recommend switching to 2.x for production use unless you’re starting fresh or the courses you are importing are pretty “vanilla” with minimum of external files/mods/blocks. That’s my opinion. But if you have to move, then I’d take the approach I recommend above…if others have another approach that works, great, please share!
Enter your email address:
Delivered by FeedBurner