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.1

Moodle 3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6
Released: Qibxata, 19 Guraandhala 2019, 2:48 AM

BrCLI

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.

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.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
2019021415
Version release name
v1.1
Maturity
Stable version
MD5 Sum
e245b6f26b9a19e1b5fd981d4504477d
Supported software
Moodle 3.0, Moodle 3.1, Moodle 3.2, Moodle 3.3, Moodle 3.4, Moodle 3.5, Moodle 3.6

Version control information

Version control system (VCS)
GIT
VCS repository URL

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