Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-68046

Automated backup setup

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.8, 3.8.1, 3.8.2, 3.9
    • Backup
    • MOODLE_38_STABLE, MOODLE_39_STABLE
    • MDL-68046-master
    • Hide
      1. Create new course
      2. login as admin and enable the context freeze from Site administration \Development \ Experimental \ Experimental settings
      3. enable autobackup and check the "Skip categories and courses in context freeze mode checkbox"
      4. create new course
      5. mark this course as content freeze
      6. run to autobackup script
      7. verify that no autobackup create for courses how set as freeze or exist in category how set as freeze
      8. remove the freeze mode form the course and mark this course category as content freeze
      9. run to autobackup script
      10. verify that no autobackup create for courses how set as freeze or exist in category how set as freeze
      11. disable skip freeze content by unchecked the "Skip categories and courses in context freeze mode checkbox"
      12. run to autobackup script
      13. verify that the freeze courses as autobackup file available
      Show
      Create new course login as admin and enable the context freeze from Site administration \Development \ Experimental \ Experimental settings enable autobackup and check the "Skip categories and courses in context freeze mode checkbox" create new course mark this course as content freeze run to autobackup script verify that no autobackup create for courses how set as freeze or exist in category how set as freeze remove the freeze mode form the course and mark this course category as content freeze run to autobackup script verify that no autobackup create for courses how set as freeze or exist in category how set as freeze disable skip freeze content by unchecked the "Skip categories and courses in context freeze mode checkbox" run to autobackup script verify that the freeze courses as autobackup file available

      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.

            Unassigned Unassigned
            chenlevy Chen Levy
            Neill Magill Neill Magill
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.