Auto backup causing disk space issues - help please?

Auto backup causing disk space issues - help please?

by Susan Carmichael -
Number of replies: 2

We have a Moodle installation hosted on Siteground. I am finding our disk space is being eaten up by filedir data that is being automatically saved. Some are many megabytes or even 1gb. I don't know what this is or how to stop this automatic accumulation. Can I just delete these files? Any ideas? Thanks!

Average of ratings: -
In reply to Susan Carmichael

Re: Auto backup causing disk space issues - help please?

by Ken Task -
Picture of Particularly helpful Moodlers

It is not advised to manually delete files from moodledata/filedir/ without knowing what they are and knowing what you are doing.

Sounds like autobackup issues/settings ...

Install this plugin:

https://moodle.org/plugins/report_allbackups

Review settings for autobackups ... in order to run autobackups and have the ability to quickly re-coup disk space, advise sending auto backups to a 'designated directory'.  That could be 'autobackups' in your moodledata directory ... you have to manually create that directory in SG's file browser and set permissions so that the web service user can write to it.

Does SiteGround offer an attached data device ... just for storage?  If so, investigate that and use the attached data device as storage for autobackups.

'SoS', Ken

In reply to Ken Task

Re: Auto backup causing disk space issues - help please?

by Dhanushka De Silva -
I'm facing the same issue. installed this plugin as well.. rapidly decreasing my server storage due to this matter. Around 4Gb per time. this happens once I take course backups manually. On my LMS there are about 50 courses. its like around 2GB total when the backup complete. after taking my backups manually I delete all files then and there. but seems its not deleting permanently. any suggestion for that? I'm using moodle 3.7. I'm hoping to check the files from backend. please tell me where to look. the location of the backup files..
Thanks