Backup and Restore Command-Line Interface
- Moodle 3.0–4.1
- 更新 2019-03-15
BrCLI (Backup & Restore Command-Line Interface) is a plug-in integrated in Moodle that allows administrators to backup and restore courses via a command line interface.
BrCLI
BrCLI (Backup & Restore Command-Line Interface) is a command-line plug-in integrated in Moodle that allows administrators to performs bulk backup and restores of all categories, not just a single course.
Features
backup all courses of a specific category using a single command.
restore a set of courses backup files in a specific category.
How to use
Please type the commands below to know how to use this plugin:
sudo -u www-data /usr/bin/php admin/tool/brcli/backup.php –help
sudo -u www-data /usr/bin/php admin/tool/brcli/restore.php –help
Release notes
v1.2 – the description of the plugin was improved.
v1.1 – it is mandatory to inform the destination folder.
v1.0 – the restore feature is available.
v0.2 – allows the admin to backup all courses of a specific category.
v0.1 – initial version.