We were wanting to make a course for our district that is like the Moodle Demonstration Site that allows for teachers to play with sample teacher created assignments from both the student and teacher perspective so that they can learn how to use Moodle. We would love to be able to have an either daily or hourly refresh of the course but have no idea how to do it.
How does the Moodle Demonstration Site refresh every hour? Is there a script that runs an automatic restore? If so, can it be shared? Any information or ideas about how to do this would be very much appreciated.
Thank you so much!
Hello,
i think that what you want to do, restore one course periodically, isn't really easy to do. But restoring a whole site is much more easier, as you say for Moodle Demo site, so you should go this way.
You can look at an automatic Moodle backup script
You'll then just have to put a cron command to restore it when you want
You just have to restore backups of the Database, and the moodledata folder. It can be very easy, if you have ssh access on you server.
Hope this helps
i think that what you want to do, restore one course periodically, isn't really easy to do. But restoring a whole site is much more easier, as you say for Moodle Demo site, so you should go this way.
You can look at an automatic Moodle backup script
You'll then just have to put a cron command to restore it when you want
You just have to restore backups of the Database, and the moodledata folder. It can be very easy, if you have ssh access on you server.
Hope this helps
Thank you so much, Séverin! I hadn't realized the Moodle Demo Site worked that way, but that should work great!