I Backup quizzes from one course and restore it into another, but I get an error when I attempt the quiz saying the question could not be found.
How I came across the problem:
Part I
- Clicked Backup in the Administration Block of source course "ANTH 101 FO SP08"
- Set only quizzes to be backed up. i.e.
- Un-check everything (including user data) except for Quizzes
- Set all drop down lists to "none" or "no"
- Click Continue
- I see the backup details page with some error output. See attached image "output1.PNG". I click continue
- I see the backup process output. Output is below, see "Output 2". I click continue.
- I see the output in the files repository. I download the zip file, which contains the moodle.xml file. See next post "Output 3" with attachment "backup-anth_101_fo_sp08-20081008-1555.zip"
- Course restore details displayed. See "Output 4" below. I click continue
- I leave everything as is, and click continue. See "Output 5" below
- I am warned that the process can take a long time. I click continue
- The restore process is displayed. See "Output 6" below
- I go to destination course "ANTH 101 FO FA08" and click Restore
- I click Upload a file and upload "backup-anth_101_fo_sp08-20081008-1555.zip"
- I click restore next to "backup-anth_101_fo_sp08-20081008-1555.zip"
- I am asked if I want to continue. No errors are given. I click Yes.
- I click on the first quiz "Midterm #1"
- I turn off the closing time so that I can preview the quiz
- click update this quiz
- check disable next to close the quiz
- click save and display
- I click preview quiz now
- I get an alert saying "This quiz has a time limit and is limited to 1 attempt(s). You are about to start a new attempt. Do you wish to proceed?" I click ok
- I get an error saying "Could not load question options". I click continue
I went back to the source course "ANTH 101 FO SP08" and double-checked quiz "Midterm #1" by previewing it and clicking through every question. They were all there; none were missing, and no errors were given.
-------Output 2--------
Course backup: ANTH 101 FO: Introduction Cultural Anthropology (ANTH 101 FO SP08)
Name: | backup-anth_101_fo_sp08-20081008-1555.zip |
|
Backup completed successfully
--------Output 4--------
Course restore: backup-anth_101_fo_sp08-20081008-1555.zip
|
Course:
Name: | ANTH 101 FO: Introduction Cultural Anthropology (ANTH 101 FO SP08) |
Summary: | Course administration |
Backup:
Backup Name: | backup-anth_101_fo_sp08-20081008-1555.zip |
Moodle Version: | 1.9.2+ (Build: 20080717) (2007101520) |
Backup Version: | 1.9 (2008030300) |
Backup Date: | Wednesday, 8 October 2008, 03:55 PM |
Backup Details:
Assignments: | Not included |
Forums: | Not included |
Labels: | Not included |
Quizzes: | Included without user data |
Midterm #1 | Included without user data |
Mid-term #2 | Included without user data |
FINAL EXAM | Included without user data |
Resources: | Not included |
Books: | Not included |
Metacourse: | No |
Users: | None |
Logs: | No |
User Files: | No |
Course files: | No |
Site files: | No |
Grade histories: | No |
------Output 5------------
Course restore: backup-anth_101_fo_sp08-20081008-1555.zip
Restore to | Existing course, deleting it first Existing course, adding data to it | ||||||||
Include | All/None | All/None | |||||||
Quizzes | without user data | ||||||||
|
|||||||||
Metacourse | No | ||||||||
Users | None | ||||||||
Groups & groupings![]() |
None Groups only Groupings only Groups & groupings | ||||||||
Logs | No | ||||||||
User Files | No | ||||||||
Course files | No | ||||||||
Site files | No | ||||||||
Grade histories | No |
Role mappings
Source role | Target role |
Teacher (editingteacher) | new role Teacher (editingteacher) Non-editing teacher (teacher) Student (student) Guest (guest) Faculty Assistant (facultyassistant) Teaching Assistant (ta) Guest Instructor (guest_instructor) |
Student (student) | new role Teacher (editingteacher) Non-editing teacher (teacher) Student (student) Guest (guest) Faculty Assistant (facultyassistant) Teaching Assistant (ta) Guest Instructor (guest_instructor) |
----Output 6----
Course restore: backup-anth_101_fo_sp08-20081008-1555.zip
|
Restore completed successfully