I'm running into a weird issue on two older Moodle 3.5 installs (I know - upgrades are pending), wherein the moodledata/temp/backups folder grows abnormally large very quickly (hundreds of gigs overnight), and Moodle doesn't appear to be cleaning up after itself. Cron appears to be running normally on each server.
The backups were originally configured as automated - however after this problem started happening, I switched them to manual so I could capture a log of what was happening during the backup process. But here's the weird part: despite the backups being configured as manual (and not configured to run via the OS cron until tomorrow), a full restart of both the webserver and PHP backends, *and* me disabling the automated backups task in scheduled tasks ... Moodle still appears to be running the scheduled backup task. Now.
Has anyone seen anything like this before? I'm thinking that there's an outstanding backup job still scheduled that Moodle is trying to complete. Any thoughts as to where I could look in the database to confirm and/or disable this?
The mdl_task_scheduled table does show the automated backup task as disabled:
+----+------------------------------+------------------------------------------------------+-------------+-------------+----------+--------+------+-----+-------+-----------+-----------+------------+----------+
| id | component | classname | lastruntime | nextruntime | blocking | minute | hour | day | month | dayofweek | faildelay | customised | disabled |
+----+------------------------------+------------------------------------------------------+-------------+-------------+----------+--------+------+-----+-------+-----------+-----------+------------+----------+
| 24 | moodle | \core\task\automated_backup_task | 1601034679 | 1601038200 | 0 | 50 | * | * | * | * | 0 | 1 | 1 |