All backups

Reports ::: report_allbackups
Maintained by Dan Marsden, Catalyst IT
This report allows access to all backups on a site - including those stored in the users private files area and the site admin can download/restore or delete the backup files.
Latest release:
2226 sites
64 fans
Current versions available: 5

Are your teachers filling up the disk with too many backup files? - This report allows you to obtain a list of all Moodle backup files on your site - including those inside users private files areas, allowing you to delete/download or restore the files.

This report finds all files in your site with the extension *.mbz (Moodle's backup format) excluding the recycle bin and draft files which are cleaned up using other processes.

Thanks to Zentrum für Schulqualität und Lehrerbildung Baden-Württemberg for sponsoring the development on this plugin and allowing it to be shared with the community.

This plugin was developed by Catalyst IT

Catalyst IT


Screenshot #0


Dan Marsden (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • ken masters
    Thu, Jul 1, 2021, 12:00 PM
    Are backups that are stored in a specified destination and not in the default course backup filearea show in this report?
  • Dan Marsden
    Thu, Jul 1, 2021, 12:03 PM
    @Ken - Yes.
  • Ricardo Caiado
    Sun, Aug 8, 2021, 9:18 PM
    Hi, Dan.

    In the tab "Standard backups" the parameter "id" which is generated in the URL "/user/profile.php?id=" is incorrect.

  • Dan Marsden
    Mon, Aug 9, 2021, 5:29 AM
    Thanks Ricardo - feel free to report that to the issues tracker on github and we'll try to get to that at some point.
  • Michael Alonso Garcia Fallas
    Thu, Nov 11, 2021, 4:13 AM
    Greetings, I would like to know if the plugin can delete courses, what is the difference in the archive area between courses and backup? Thank you
  • Dan Marsden
    Thu, Nov 11, 2021, 4:16 AM
    This plugin does not delete courses, it allows you to see a list of all Moodle backups stored on your site no matter where they are stored, and allows you to delete/download or start a restore process to restore the course into your site.
  • Uwe Wennmann
    Sat, Feb 26, 2022, 4:48 AM
    When I try to install the release 0.1.2, the release 0.1.0 gets installed. (No update is available.) Is that intended?

  • Dan Marsden
    Mon, Feb 28, 2022, 5:18 AM
    @Uwe - take a look at the supported versions - 0.1.2 only supports Moodle 3.10 and higher - I suspect it's grabbing a different version becauase you are using an older Moodle release.
  • Ricardo Caiado
    Thu, Mar 17, 2022, 10:39 PM

    When I turn on debug mode I got this message error on page "/report/allbackups/index.php":

    get_all_user_name_fields() is deprecated. Please use the \core_user\fields API instead

    line 3384 of /lib/deprecatedlib.php: call to debugging()
    line 245 of /report/allbackups/index.php: call to get_all_user_name_fields()

    Moodle 3.11.6+
    PostgreSQL 12
    PHP 7.4
    Ubuntu 20.04

  • Dan Marsden
    Fri, Mar 18, 2022, 4:22 AM
    @Ricardo - please make sure you are always using the correct version of the code - our latest code for all our plugins will be in github - see the readme file for which git branch supports which Moodle version. It sounds like you have an older version of the plugin installed for a previous Moodle release.
  • Ricardo Caiado
    Fri, Mar 18, 2022, 9:06 AM

    You are right.

    Using v.0.1.2 for Moodle 3.10

    The correct one is v0.1.2 foi Moodle 3.11 - shouldn't be v0.1.3?


  • Marc Couture
    Thu, Apr 7, 2022, 9:31 PM
    Anyone else getting 504 Gateway Timeout errors when trying to export results to a file? I am testing the plugin version 0.1.2 on Moodle version 3.9.13 (build 20220314).
  • Annie H.
    Mon, Aug 14, 2023, 4:19 AM
    Hi, just a short question: is there a possibility to import the export of mbz files into another moodle? Or does the plugin only collect exports? Thank you for you reply.
  • Dan Marsden
    Mon, Aug 14, 2023, 8:11 AM
    @Annie - this plugin just provides a report that allows you to access the course backup files stored across your site and bulk delete/bulk download or trigger a restore - it does not allow you to import backups from an external location.
  • Tim Childs
    Wed, Nov 1, 2023, 9:25 PM
    A suggestion for additional functionality. Could the plugin also have an option to move backups to a specified location on the server. For example a Moodle-archive directory. This would allow, for example, all backups from a specified academic year (which have been created on our site using the automated backup feature) to be moved into a specific archive location. We would then delete those courses from our live environment. If the plugin could have an additional tab as it does when auto-backups are set to store in a specified location, which displays only those stored within the archive directory and the ability to restore any of those as required.
1 2
Please login to post comments