Hello, can someone advise if we can migrate MoodleCloud database to MoodleLMS (local machine)
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.)
It would be possible to backup and download each course, then restore to your other site.
Trivnesh has a parallel post in this other topic.
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.
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
Thanks everyone, really appreciate the help and support.
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.
I am going to try this and see if I can restore this in my local MAMP Moodle. Thanks.
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.
Thank you very much Rick and Mathieu.