using moodle-dockers to do a onetime restor of moodle 3.2

using moodle-dockers to do a onetime restor of moodle 3.2

by Malik Koné -
Number of replies: 2

Say I want to restore a moodle 3.2 from a sql dump and a moodledata directory with https://github.com/moodlehq/moodle-docker

How can I do that?

Using moodle-docker, setting fresh moodle is easy. 

but using the docker images and volumes and network and binding to restor a website from the sql dump and moodledata is more challenging.

Please share any clue which could help me set-up my website just once so I can get export my question bank and course to a better format.


Average of ratings: -
In reply to Malik Koné

Re: using moodle-dockers to do a onetime restor of moodle 3.2

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
To recover a course on any other Moodle 3.2 site, you only need https://docs.moodle.org/32/en/Course_restore, provided that you have a https://docs.moodle.org/32/en/Course_backup.

If the question bank was under that course, then it will also be restored. If not you need a https://docs.moodle.org/32/en/Site_backup and do a https://docs.moodle.org/32/en/Site_restore. Notice that you do not install a fresh Moodle in that process.

BTW, isn't this the same discussion as https://moodle.org/mod/forum/discuss.php?d=410782 ?
In reply to Visvanath Ratnaweera

Re: using moodle-dockers to do a onetime restor of moodle 3.2

by Malik Koné -
Thank you Visvanath, no it's not too late. I'm still eager to learn allthough Ken's approach was very easy to put in place,
https://moodle.org/mod/forum/discuss.php?d=411232 I may do a site restore to get my site wide questions. But already most of them are back online.

I love moodle (and command line)