-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
Future Dev
I was scratching my head trying to understand why the recycle bin always makes slow / big backups which include the files even when the files are not included due to backup_auto_files being set and discovered this horrible hack:
https://github.com/moodle/moodle/blob/master/admin/tool/recyclebin/classes/course_bin.php#L115-L124
The comment there has links to the gory details, and this will get cleaned up in MDL-65228 but it isn't clear when that would get fixed. In the mean time I'd like to propose an almost 1 liner which allows you to set whether recycle bin should include files or not. I would make this a cli only as its a fairly obscure edge case but does have a big performance impact.
In our inf with objectfs setup and with a policy of never deleting files, then pulling all the files down into these backups is a waste of time and disk and can be eliminated.
- will be (partly) resolved by
-
MDL-65228 Create a new backup::MODE_RECYCLEBIN
-
- Open
-