Clear Backup Files

Administration tools ::: tool_clearbackupfiles
Maintained by Shubhendra Doiphode
Course backups can be an expensive task at times. It could take loads of unnecessary space and memory on the server. Administrators can clear backup files on the server to free the server space.

Clear Backup Files 4.1, release 3

Moodle 4.1, 4.2, 4.3, 4.4, 4.5
Released: Wednesday, 29 January 2025, 9:42 PM

Moodle Plugin CI

tool_clearbackupfiles

This admin tool clears all backup files from the server. It is useful for freeing up space from dev and test servers once they are refreshed from production.

It also gives a report of how many .mbz files were deleted and how much space was cleared.

Instructions

The backup files can be deleted from /admin/tool/clearbackupfiles/index.php and you can find logs at /report/log/index.php. The default Moodle events are used to create log entries.

Version information

Version build number
2025012900
Version release name
4.1, release 3
Maturity
Stable version
MD5 Sum
4d67a50bd4b1ed1c5cfbc5b999effc86
Supported software
Moodle 4.1, Moodle 4.2, Moodle 4.3, Moodle 4.4, Moodle 4.5
  • Latest release for Moodle 4.1
  • Latest release for Moodle 4.2
  • Latest release for Moodle 4.3
  • Latest release for Moodle 4.4
  • Latest release for Moodle 4.5

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