Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

restoreall

A moodle CLI script to restore all courses in a folder to multiple categories

Drop this into your /admin/cli folder of your moodle or workplace installation, execute with php via the command line.

Options:
-h, --help                 Print out this help
-p, --path                 full path to source folder containing moodle backups
-r, --remove               Remove source backups after a sucessful restore

Example

sudo -u www-data /usr/bin/php admin/cli/restoreall.php --path=/var/www/html/mysite/moodledata/backups --remove

Licence

GPL 3

About

A moodle CLI script to restore all courses in a folder to multiple categories

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Contributors

Languages