How to restore all the courses I have backuped ?

Re: How to restore all the courses I have backuped ?

by Ken Task -
Number of replies: 0
Picture of Particularly helpful Moodlers

Never mind ... found it ... several options for @jiandu cc to consider/sort through ...

https://docs.moodle.org/32/en/Upload_courses#Short_file_example

Course action fields
backupfile
 An absolute path to a backup file (.mbz) to import in the course.

(This means the full path to your course, for example /home/yourmoodle/public_html/moodle27/transfert/backup.mbz . If you are unsure of this, look at include_path in Site administration>Server>PHP info.)

Course process
This allows you to specify actions to be taken for every course uploaded.

Shortname template
If you are creating courses without a shortname, you can use this field to automatically generate a shortname. This field accepts two placeholders: %i for the ID number, %f for the summary.

Restore file
A backup file (.mbz) to import in the course after create/update.

Restore from course
The shortname of a course to import content from after create/update.

Reset after upload
 Whether to reset the course after creating/updating it.

Will have to test that some day and compare it to a moosh method.   Still though, above might be the only way one could on Windows.

'spirit of sharing', Ken