-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
3.8, 3.8.1, 3.8.2, 3.9
-
MOODLE_38_STABLE, MOODLE_39_STABLE
-
MDL-68046-master
-
In a big installation of moodle with large amount of courses the automated backup process do not finish it's task, when the 'Skip hidden courses' is checked it still brings all the courses and checking the courses one by one and skip it if hidden, thus I changed the sql query of the courses and don't select the hidden courses in the query if the setting checked .
I also added a setting option of skip categories and courses in context freeze mode that we don't want to check them.
so I improved automated backup script run time by lower the number of courses that should be checked for all others backup option.