Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-19836 Moodle 5.0 QA
  3. MDLQA-19885

CLONE - An admin can backup and restore a large course

XMLWordPrintable

    • Icon: Functional Test Functional Test
    • Icon: Minor Minor
    • None
    • Moodle 5.0
    • Backup, Teacher
    • None

      This test requires admin access. If you would like to use the QA testing site for running it, please see the QA testing guide for details of how to request admin access. Begin just after the hourly reset to give yourself plenty of time to complete the test!

      Prerequisites

      1. Create a large course using the test course generator.
      2. On the generated course, rename at least 2 sections to "First section" and "Last section". (Ideally, it can be the section after General and the last section).
      3. Still on the generated course, ensure that on one of the uniquely named section, at least the following exists:
        • Assignment
        • Page
        • Database
        • Quiz
        • Folder
        • File
        • Book
        • Glossary

      Test Instructions

      1. As an admin, go to a course and create a course backup, including selected activities and blocks.
      2. On the 1. Initial settings step of Backup, without changing anything, click [Jump to final step].
      3. Run cron to ensure backup process is successfully completed.
      4. Download the course backup file.
      5. Go to Site administration > Courses > Restore course and upload the course backup file.
      6. Restore the backup file, selecting 'Restore as new course' as destination. NOTE: Do not change any of the current settings of the backup.
      7. Again, run cron to ensure backup process is succesfully completed.
      8. Access the newly restored course and confirm that it is restored correctly by performing some basic checks:
        • The sections with unique names exist.
        • The activities under the uniquely named section load without errors.
        • Page, Book, Folder and Files contents are restored.
        • Database and Glossary entries are restored.
        • Quiz questions are restored and quiz can be previewed.

        1. MDLQA-19885_activities_1.png
          258 kB
          Angelia Dela Cruz
        2. MDLQA-19885_activities_2.png
          92 kB
          Angelia Dela Cruz
        3. MDLQA-19885_backup_restore.png
          78 kB
          Angelia Dela Cruz
        4. MDLQA-19885_sections.png
          48 kB
          Angelia Dela Cruz
        5. testcoursebackup.mbz
          91.56 MB
          Angelia Dela Cruz

            andelacruz Angelia Dela Cruz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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