by Clemente López.
Hello,
I tried to modify a course backup, because when I try to restore the original file seems an error message (The backup file contains more than one top-level question categories for context xxx).
If I change the extension from mbz to zip, unzip the file, edit que questions.xml (changing or removing the duplicated top category), it seems 2 types of error:
- Not valid backup file (if I compress to zip and rename all the files)
- Not found course/couse.xml in the backup temp file (if I compress and rename all the files inside a directory). If I chech the backup temp file in moodle data, it's true, but in the zip (mbz) exists.
Then, I have a problem, because I can't know how can I do to restore this file if I can't edit the files and "rebuild" the backup file.
Anyone have some idea?
Regards