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

Hidden courses that have remained unmodified in a month should not be skipped from backup

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 1.9.13, 2.1.2
    • Backup
    • None
    • MOODLE_19_STABLE, MOODLE_21_STABLE

      The scheduled back up code "Skip backup of unavailable courses that have remained unmodified in a month"

      However, it uses the timemodified field in the course table to check if this course has been modified. This field only ever changes when a course setting is changed.

      So we have had incidences where a teacher has hidden a course and then worked extensively on building it for weeks, in preparation for the next period. The course is never backed up. We have had to rebuild entire instances of Moodle using file and database backups, to restore lost courses.

      We therefore comment out this code. We would like an improvement to either remove this code or adapt it to check if a course really has been modified.

            moodle.com Moodle HQ
            amanda.doughty Amanda Doughty
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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