Moodle Data

Moodle Data

by Nischal Chandra -
Number of replies: 3

Hi All,

"moodledata" filesystem keeps the data encrypted regarding the courses files associated with students.  Is there a way to extract and decrypt the data from there so we can backup what students submitted in plain readable format outside the Moodle ecosystem for long-term retention?  Thank you. 

Best regards,

Nischal

Average of ratings: -
In reply to Nischal Chandra

Re: Moodle Data

by Justin Hunt -
Picture of Particularly helpful Moodlers Picture of Plugin developers

Hi Nischal

There might be better answers out there (or there might not!). But in Moodle 3.5 and also available in versions 3.3 and 3.4 , a user can make a request for their data. The admin approves it and the user can then download it.

https://docs.moodle.org/35/en/Data_privacy

The user's data actually comes in JSON format with files in a zip. I am pretty sure someone will come up with a viewer soon enough. There was a bit of a rush to get the basic functionality done in time for GDPR.

The other option is to use a Moodle portfolio plugin. There are some core ones, as well as contributed ones. These allow the student to export their forum post or assignment submission, to a portfolio. This "portfolio" could be an external system, Google Drive , a blog, or just a file even.

https://docs.moodle.org/35/en/Portfolios

Average of ratings: Useful (3)
In reply to Justin Hunt

Re: Moodle Data

by Nischal Chandra -
Thank you Justin! These are certainly very useful suggestions. 



Is there a way to do this without the student’s involvement? Can the instructor or another user request a backup from admin or admin can do alone, possibly via command line?



Thanks. 



Best regards,
In reply to Nischal Chandra

Re: Moodle Data

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Technically it is not encrypted, it is in a format that requires re-assembling before it is human readable. That doesn't help solve your problem but I wanted to make it clear for anyone else reading this thread.

Average of ratings: Useful (1)