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

Default settings async course backup

    XMLWordPrintable

Details

    • MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
    • MOODLE_310_STABLE, MOODLE_311_STABLE
    • MDL-71121-311
    • Hide
      1. Login as admin
      2. Navigate to Courses > Backups > Asynchronous backup/restore in site administration
      3. Tick Enable asynchronous backups and save changes
      4. Navigate to Courses > Backups > General backup defaults in site administration
      5. Enable the Include users setting and set as Locked
      6. Disable the Include activities and resources settings and set as Locked
      7. Disable the Include blocks setting (leave Locked unchecked)
      8. Press Save changes
      9. Create a new course
      10. From the course page, select Backup from the actions menu
      11. Confirm the Include enrolled users setting is checked/locked (has a green tick)
      12. Confirm the Include activities and resources setting is unchecked/locked (has a red cross)
      13. Confirm the Include blocks setting is unchecked/unlocked
      Show
      Login as admin Navigate to Courses > Backups > Asynchronous backup/restore in site administration Tick Enable asynchronous backups and save changes Navigate to Courses > Backups > General backup defaults in site administration Enable the Include users setting and set as Locked Disable the Include activities and resources settings and set as Locked Disable the Include blocks setting (leave Locked unchecked) Press Save changes Create a new course From the course page, select Backup from the actions menu Confirm the Include enrolled users setting is checked/locked (has a green tick) Confirm the Include activities and resources setting is unchecked/locked (has a red cross) Confirm the Include blocks setting is unchecked/unlocked

    Description

      When you enable asynchronous backups the backup settings have everything selected regardless of what default backup settings are. 

      Async course backup does not pick up general default (Otherwise should it have it own default settings configurable via UI?).

       

      Step to replicate:

      1. Enable asynchronous backups: /admin/settings.php?section=asyncgeneralsettings
      2. Un-check a setting in General Backup, eg 'Include logs': /admin/category.php?category=backups
      3. Back up a course, and find that the setting is enabled where it should be disabled by default.

      Another example of steps to replicate: 

      1. Set default back up settings to not include users
      2. Enable asynchronous backups
      3. Attempt to back up a course and see that users are included.

      Attachments

        Issue Links

          Activity

            People

              pholden Paul Holden
              Nguyen Nathan Nguyen
              Sujith Haridasan Sujith Haridasan
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Gladys Basiana Gladys Basiana
              Adrian Greeve, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              12 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                13/Sep/21

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 50 minutes
                  1h 50m