Details
Description
I created a backup of a course, originally created in v. 1.8.4 and then ported to 1.9. When I attempted to restore the course, it stalled on the groups/grouping step. When I removed the groups from the course and created a new backup, it reinstalled (in a new course) without any problem.
Attachments
-
$i18n.getText("admin.common.words.hide")
- backup-tests-20080611-1405.zip
- 12/Jun/08 5:56 AM
- 3.87 MB
- Wen Hao Chuang
-
- course_files/2ndand3rdlawpreptest.htm 91 kB
- course_files/9xwordNumber5MdlSample.htm 73 kB
- course_files/balance.jpg 29 kB
- course_files/glossary/.../glossary.xml 33 kB
- course_files/glossary/.../glossary.xml 21 kB
- course_files/glossary/.../glossary.xml 20 kB
- course_files/.../label_001.jpg 42 kB
- course_files/Media_examples/bonjour.mp3 13 kB
- course_files/Media_examples/mitsy.wmv 308 kB
- course_files/.../moodle-logo-med.gif 6 kB
- course_files/.../moodle-logo-small.gif 2 kB
- course_files/.../moodle-logo-trans.png 42 kB
- course_files/.../moodle-logo.jpg 40 kB
- course_files/.../muffins_from_space.swf 137 kB
- course_files/Media_examples/Test.ppt 57 kB
- course_files/.../testfile.html 0.3 kB
- course_files/.../Washington.mov 76 kB
- course_files/.../world-tour.mp3 236 kB
- course_files/Media_examples/WQ3.pdf 18 kB
- course_files/newtonsSecondThird_hotPot.zip 72 kB
- course_files/.../quiz-features-about_moodle-20040824-0039.xml 6 kB
- course_files/Scan0001.jpg 30 kB
- course_files/.../eXe-moodlefeatures.zip 47 kB
- course_files/scorm/eXe_051106.zip 480 kB
- course_files/scorm/eXe_051109.zip 127 kB
- course_files/scorm/itemsc.zip 499 kB
- course_files/scorm/pite.zip 571 kB
- moddata/scorm/1/adlcp_rootv1p2.xsd 4 kB
- moddata/scorm/1/.../itemtheory/greyedout.gif 3 kB
- moddata/scorm/1/images/jspowered.gif 2 kB
$i18n.getText("admin.common.words.show")- backup-tests-20080611-1405.zip
- 12/Jun/08 5:56 AM
- 3.87 MB
- Wen Hao Chuang
-
- screenshot-1.jpg
- 50 kB
- 27/Jun/08 12:44 AM
Activity
You may be right Wen, as I've reproduced this problem with a 1.8 course backup which failed to restore to the latest 1.9.1+. (Backup file sent to Petr.)
The 1.8 course backup mentioned in my previous comment came from a Moodle version 2007021520 site.
Here is another report of this issue: http://moodle.org/mod/forum/discuss.php?d=99882
Yet another report: http://moodle.org/mod/forum/discuss.php?d=100176
Cannot restore course backed up in 1.8 to 1.9, have been successful with 15 courses but this one willnot restore.
Just to note that a 1.8.4 course backup containing groups, from a Moodle version 2007021540 site, restored successfully! ![]()
hmm, the problem is that there is a group membership of user that does not exist in the backup file
should be fixed in cvs,
we do need the cleanup scripts for group membership table - I hope we can get to that at least in 2.0
thanks for the report, please reopen if needed
1.8 course backup from Moodle version 2007021520 site now restores fine.
Thomas, thanks for reporting this issue and Petr, thanks for fixing it ![]()
Unfortunately, it seems, that the bug was not fixed in v1.9.x branch.
I imported a course backup from Moodle v1.9.9 to Moodle v1.9.13 and the bug still appears:
Could not restore groups!
This bug should be reopened...
Hmm.. I can't reproduce this issue on the latest 1.9.1+ code (build as of 20080611). I tried to backup the course on 1.5.4+ then restore on 1.9.1+, but the GROUPS works. Attached is the backup course file that I used. Maybe it's the 1.8.4 backup code that had some problems?