Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6815

Moodle 3.6- Deleting from /data/moodledata/filedir without Moosh

$
0
0
by Aarthi Ramesh.  

Hi!

I am the admin/instructor for my team's corporate Moodle 3.6v instance. 

I was warned of a very high server volume usage by the team's DBA and on investigation using the CLI, I found that the .mbz backups being stored in /data/moodledata/filedir dated back to Oct 2020 on a weekly basis. I adjusted the cron and tasks using the GUI, so nothing over 5 backups is saved. When I checked back using the CLI, the updated cron task has run successfully, but the older backups still exist.




I tried installing and running Moosh and after unsuccessful attempts to deploy, figured that due to a php version incompatibility, 

I have to find a manual way to delete these .mbz files from filedir and associated links without causing the entire prod. environment to come down. Please advise.

Other observation to share-

I cannot see these old backup files under the respective courses using the GUI.

Under the courses where I did see backups that I did not require, I deleted them. When they showed up in trashdir, I deleted them manually using the CLI.

Thanks!

Aarthi


Viewing all articles
Browse latest Browse all 6815

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>