dgedugeek Posted December 28, 2016 Posted December 28, 2016 Greetings, I`m looking to a Plugin or Javascript code or any custom parameter which will reset my Moodle site to its original state. I have a Moodle site where the users are logging in and edit the site including: dashboard page, course page, grades, attendance, ... and we need to reset this site to its original state each day at 7:30 am. Thus we need an automated process / scheduled task to ignore all the edits from the users over the last 24 hours and reset the site to the state that we have defined before including the content, grades, attendance, user data, page layouts, blocks, courses, etc... Any help would be very appreciated. Thanks in advance.
danbuntu Posted December 28, 2016 Posted December 28, 2016 you can just schedule a backup and restore of the database via a script/cronjob 2
angrycomputingteacher Posted December 28, 2016 Posted December 28, 2016 Yep, Cron jobs are the way to go.
Norphy Posted January 6, 2017 Posted January 6, 2017 Is it hosted on a VM? Could you take a snapshot and restore the snapshot every morning?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now