Moodle Plugins directory: Clear Backup Files | Moodle.org

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.
Latest release:
845 sites
309 downloads
22 fans
Current versions available: 3
package: 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 og how many mbz files were deleting clearing how much space.
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 is used to create log entry.
The plugin also has a setting to enter number of days and associated scheduled task to do the cleanup automatically.
Useful links
Contributors
Shubhendra Doiphode (Lead maintainer)
Please login to view contributors details and/or to contact them
root@moodle:/etc# php -f /srv/www/htdocs/moodle/admin/tool/clearbackupfiles/index.php
Command line scripts must define CLI_SCRIPT before requiring config.php
moodle 3.6.5
Let me test this and address the above concerns.
I would suggest to create a issue on the repository for any future bugs.
https://github.com/doiphode/moodle-tool_clearbackupfiles/issues
Thanks
But i missed some Features.
* remove only Backups ago xxx Days (specified on settings page)
* scheduled task
Thank you for the suggestions.
I have added the requested features in the updated version.
Regards
When acessing "Scheduled Tasks" (/admin/tool/task/scheduledtasks.php), the task name is not showing correctly:
crontask
\tool_clearbackupfiles\task\cron_task
Using "Brazilian Portuguese (pt_br)" language.
Ricardo