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
- Create a large course using the test course generator.
- Alternatively, you may use the attached file (testcoursebackup.mbz
to perform this test.
- Alternatively, you may use the attached file (testcoursebackup.mbz
- 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).
- 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
- As an admin, go to a course and create a course backup, including selected activities and blocks.
- On the 1. Initial settings step of Backup, without changing anything, click [Jump to final step].
- Run cron to ensure backup process is successfully completed.
- Download the course backup file.
- Go to Site administration > Courses > Restore course and upload the course backup file.
- Restore the backup file, selecting 'Restore as new course' as destination. NOTE: Do not change any of the current settings of the backup.
- Again, run cron to ensure backup process is succesfully completed.
- 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.
- is a QA test written for
-
MDL-38189 META Backup/restore issues with large courses
-
- Closed
-