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

Automated course backup function duplicates and does not delete old versions when saved to non-default location

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.2
    • Component/s: Backup
    • Environment:
      LAMP, Moodle 2.0 build 20101125
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Following may (not) be a bug - uncertain if function behaviour is intended.

      Automated course backup function duplicates course backups, does not remove old course versions when saveto destination is not the course default dir and does not skip hidden courses.

      to replicate,

      1. login as admin
      2. go to Home > Settings block > Course > Backups > Automated backup setup or http://yourmoodle.com/admin/settings.php?section=automated
      3. use follow settings

      Active: Enabled
      Schedule: Monday
      Execute at: 00
      Automated backup storage: Specified directory for automated backups
      Save to: path something like /home/directoryoutsidewebroot
      Keep: 1

      4. save changes
      5. wait period for automated course backups to run, then go to saveto directory specified above; note multiple versions of each course backup.

        Attachments

          Activity

            People

            Assignee:
            stronk7 Eloy Lafuente (stronk7)
            Reporter:
            chadsta Chad Outten
            Tester:
            Jérôme Mouneyrac
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              21/Feb/11