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:
2371 sites
912 downloads
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 https://zsl.kultus-bw.de/ 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

Screenshots

Screenshot #0

Contributors

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

Comments RSS

Show comments
  • Ricardo Caiado
    Sun, 8 Aug 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.

    Ricardo
  • Dan Marsden
    Mon, 9 Aug 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.
    thanks!
  • Michael Alonso Garcia Fallas
    Thu, 11 Nov 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, 11 Nov 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, 26 Feb 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, 28 Feb 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, 17 Mar 2022, 10:39 PM
    Hi,

    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


    Ricardo
  • Dan Marsden
    Fri, 18 Mar 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, 18 Mar 2022, 9:06 AM
    Hi,

    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?

    Ricardo


  • Marc Couture
    Thu, 7 Apr 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, 14 Aug 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, 14 Aug 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, 1 Nov 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.
  • Ezzeddin Hamed
    Thu, 20 June 2024, 9:13 PM
    Hi Dan,

    This is a wonderful tool. It is good to use it regularly to delete backups. I am using it in Moodle 4.3, where I can see all backups and able to delete them.

    The point I am facing is that I am deleting about 7 GB of backups, but they do not seem to be affecting the size on disk, when checked folders, there are more than 7 GB in the trashdir. I tried different settings of the recycle bin like reducing the time and to disable it, but could not remove them.

    Is there anything wrong here?
    Is there any way to remove them in the Moodle interface? Or should I remove the trashdir manually?

    Thanks,
  • Dan Marsden
    Fri, 21 June 2024, 9:41 AM
    @Ezzeddin - file deletion in Moodle goes through a few processes - a better place for that question is in the moodle community forums so that people can respond in more detail to your questions.
1 2
Please login to post comments