Clear Backup Files icon

Clear Backup Files

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.
Price option: Free

Supports Moodle 3.2-5.2 See all versions
Latest release: 1 month ago
Installations: 938
Downloads (last 90 days): 212

Frankenstyle name: tool_clearbackupfiles
Administration tools

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

Hi,
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
Hi Melvyn, the bug has now been fixed in the latest update.
i had installed this plugin in Moodle 4.1.11 and i found that is deleting backups after i made, maybe 1 or 2 minutes after the backup creation and it was configured to delete backup from last 5 days, don't know if is a bug, but i ended uninstalling the plugin.
Hi Pia,
Thank you for the suggestions.
I have added the requested features in the updated version.
Regards
Interesting Plugin.
But i missed some Features.
* remove only Backups ago xxx Days (specified on settings page)
* scheduled task
The other issue reported by Rodrigo should be resolved.
I would suggest to create a issue on the repository for any future bugs.
https://github.com/doiphode/moodle-tool_clearbackupfiles/issues
Thanks
I have added CLI_SCRIPT in index.php.
There has been no update to this plugin recently.
Let me test this and address the above concerns.
I'm just wondering if there have been any changes to this plugin so it works without the issues raised on this page?
I did the cleaning through the web admin but it didn't release the space informed, even after running cron.
I get cli - error when start index.php :
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
Approval issue created: CONTRIB-7984