by Tyson Parker.
The goals:
Get this faculty's old course in Moodle. Our program has all guest faculty, some return from past semesters, this particular faculty somehow managed a backup of their course from their last stint! Amazing feet given our old moodle and its hardware/network.
Keep our new policies in place of not allowing large files and forcing them to link out to a Nextcloud instance for large files.
I've managed to restore this via the cli:
sudo -u www-data /usr/bin/php admin/cli/restore_backup.php --file=//backup-moodle2-course-383-fw-304-83300-20220720-2339-nu.mbz --categoryid=1
Not sure why it took me so long to find that gem in the docs. Its not really hidden but it is not the first few google hits either.
https://docs.moodle.org/400/en/Course_restore for anyone else looking in the future.
Now working with the faculty member to get it into policy.
@ken task thank you again, you are a lvl 20 cleric of Moodle for sure.
Get this faculty's old course in Moodle. Our program has all guest faculty, some return from past semesters, this particular faculty somehow managed a backup of their course from their last stint! Amazing feet given our old moodle and its hardware/network.
Keep our new policies in place of not allowing large files and forcing them to link out to a Nextcloud instance for large files.
I've managed to restore this via the cli:
sudo -u www-data /usr/bin/php admin/cli/restore_backup.php --file=//backup-moodle2-course-383-fw-304-83300-20220720-2339-nu.mbz --categoryid=1
Not sure why it took me so long to find that gem in the docs. Its not really hidden but it is not the first few google hits either.
https://docs.moodle.org/400/en/Course_restore for anyone else looking in the future.
Now working with the faculty member to get it into policy.
@ken task thank you again, you are a lvl 20 cleric of Moodle for sure.