Dear all, before I try and go down the root of writing a script or doing some fancy SQL and command line searching, I wanted to see if anyone had any ideas:
In Moodle 2.7 and/or Moodle 3.0 is there any way to determine the total number of current course backups that are sat in the system, and what their individual, and thus total, size is?
There is a table, mdl_backup_controller, which, using the following command:
SELECT * FROM moodle.mdl_backup_controllers WHERE type = 'course';
Will give, what I assume, are current active backups (those backups that are still in the system). I also believe that the status column determines if they are started, configured, executed and complete??
I also believe that I can take the checksum value and look for this in the moodledata/temp/backups directory? This will give me the file?
Can I clarify if I am correct in my assumptions and if there are any scripts or facilities that anyone knows of to help me?
Thanks
Mark