Migrate MoodleCloud database to MoodleLMS

Migrate MoodleCloud database to MoodleLMS

by Trivnesh Trikesh -
Number of replies: 8

Hello, can someone advise if we can migrate MoodleCloud database to MoodleLMS (local machine)

Average of ratings: -
In reply to Trivnesh Trikesh

Re: Migrate MoodleCloud database to MoodleLMS

by Rick Jerz -
Picture of Particularly helpful Moodlers Picture of Testers
Someone else may know better than I know, but I don't think what you seek is allowed by MoodleCloud. It's not a fault of MoodleCloud, either. Many systems that use shared databases don't allow users to do this. (However, I might be wrong.)
Average of ratings:Useful (1)
In reply to Trivnesh Trikesh

Re: Migrate MoodleCloud database to MoodleLMS

by Mathieu Petit-Clair -
Picture of Core developers Picture of Moodle HQ Picture of MoodleCloud team Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Hi Trivnesh,

There are a few ways to do this. As explained by Marcus, you could follow the course backup/restore route. I would recommend to use this method if your MoodleCloud site has only few courses and not too many custom settings and users.

You can also Export your MoodleCloud site, which will give you a zip file, which can be used to set up a Moodle site on another server. While this method will give you everything at once (courses, files, users, settings, etc.), it will require you know how to import a (possibly large) sql file into your server and move the files to the correct dataroot folder manually.

Mathieu
Average of ratings:Useful (6)
In reply to Mathieu Petit-Clair

Re: Migrate MoodleCloud database to MoodleLMS

by Trivnesh Trikesh -
Thanks everyone, really appreciate the help and support.
In reply to Mathieu Petit-Clair

Re: Migrate MoodleCloud database to MoodleLMS

by Rick Jerz -
Picture of Particularly helpful Moodlers Picture of Testers
Ah, Mathieu, I didn't know about this "export your MoodleCloud site" feature. Cool. Someone was really thinking ahead.

I am going to try this and see if I can restore this in my local MAMP Moodle. Thanks.
In reply to Mathieu Petit-Clair

Re: Migrate MoodleCloud database to MoodleLMS

by Rick Jerz -
Picture of Particularly helpful Moodlers Picture of Testers
Yep, I tried this Export your MoodleCloud feature and it works. However, the logstore table is empty, probably as expected because MoodleCloud probably doesn't keep all these entries.  So, Trivnesh, follow Mathieu's advice.
Average of ratings:Useful (1)