|
[
Permalink
| « Hide
]
Eloy Lafuente (stronk7) added a comment - 21/Apr/07 04:28 PM
This goes to Michael...
I'm going to pass this to Mark.
Did you include course files in the backup? I don't think lesson should not do its own file backup/restore.
Yes, I checked the "user data" next to the lesson, and also included Course files. The images are originally in moddata/lesson/lesson_name, and they are not copied in the backup ZIP.
Looked through the backup code and it looks like the modules are responsible for backing up content in the moddata directory. When I coded this, I was not too clever about the directory naming structure
The solution might be that we convert to the proper method and then any new imports would work with backup/restore automatically while old imports the files will have to be moved manually. I think just copying over the whole moddata/lesson directory every time is not a good solution because it could copy over data that is not needed (EG: user data is not selected for a specific lesson). Going to need to fix this in 2.0 or drop powerpoint import - this was my bad idea, since MS changes the structure of the powerpoint export this is very expensive to maintain.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||