Hello,
This is related to my post: https://moodle.org/mod/forum/discuss.php?d=221052#p962044
We back up our database and moodledata on a nightly basis and because we have encountered a critical error, we would need to recover and restore the course from a previous backup.
How do we restore a course from a backup when we know what the name of the backup is in our mdl_files.filename table?
Where do we grab the backup from our /srv/moodledata folder?
is this correct?
select contextid, contenthash, pathnamehash, filepath, component from mdl_files where contextid = 'xxxxxx' and component = 'backup';
and then just do a find for the pathnamehash and then the cotenthash is the mbz file?
Thanks