-
New Feature
-
Resolution: Duplicate
-
Minor
-
None
-
3.6.1
Currently there is a backup script that can be used by admins to backup a given course: https://github.com/moodle/moodle/blob/master/admin/cli/backup.php
But there is no analogous script to restore a backup file via command line.
I think it would help admins to have such a script as part of core Moodle.
The moosh utility by tmuras has such a feature to do course restores: https://github.com/tmuras/moosh/blob/master/Moosh/Command/Moodle33/Course/CourseRestore.php
Can we get this type of functionality into core Moodle?
This would help for large backups that take 1 hour+ to perform.