Backup and Restore Command-Line Interface

Administration tools ::: tool_brcli
Maintained by my profile picturePaulo Júnior
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.

Backup and Restore Command-Line Interface v1.2

Moodle 3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 4.0, 4.1
Released: Friday, 15 March 2019, 7:09 PM

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.

Version information

Version build number
2019031500
Version release name
v1.2
Maturity
Stable version
MD5 Sum
1b881cfe92a5f9e5f9e917883be1c842
Supported software
Moodle 3.0, Moodle 3.1, Moodle 3.2, Moodle 3.3, Moodle 3.4, Moodle 3.5, Moodle 3.6, Moodle 3.7, Moodle 3.8, Moodle 3.9, Moodle 3.10, Moodle 3.11, Moodle 4.0, Moodle 4.1
  • Latest release for Moodle 3.0
  • Latest release for Moodle 3.1
  • Latest release for Moodle 3.2
  • Latest release for Moodle 3.3
  • Latest release for Moodle 3.4
  • Latest release for Moodle 3.5
  • Latest release for Moodle 3.6
  • Latest release for Moodle 3.7
  • Latest release for Moodle 3.8
  • Latest release for Moodle 3.9
  • Latest release for Moodle 3.10
  • Latest release for Moodle 3.11
  • Latest release for Moodle 4.0
  • Latest release for Moodle 4.1

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS branch
master

Default installation instructions for plugins of the type Administration tools

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder (eg "mytool") in the "admin/tool" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation