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

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              moodle.com Moodle HQ
              amanda.doughty Amanda Doughty
              Adrian Greeve, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: