-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VSF 4.1 > Activity images backup / import #8
Comments
@gemguardian Investigating.... |
@gemguardian To be honest, I'm not quite sure. Moodle backup and restore is extremely difficult to understand. The closest I've got is attempting to understand the Grid format https://github.com/gjbarnard/moodle-format_grid/blob/main/backup/moodle2/backup_format_grid_plugin.class.php#L70-L71 and also https://github.com/gjb2048/moodle-mod_collaborate_44/blob/week_8_end/backup/moodle2/backup_collaborate_stepslib.php#L75-L87 in a Moodlebites course I facilitate. There is also the possibility of course module id changing as I think that is somehow used with the area files for 'format_vsf'. Need to think but at the same time I recommend seeing if there are Backup and Restore experts around to help? G |
@gjb2048 I will ask Rogier if he can help out with it, or luuk. I know they have more expeirences in this. |
@gemguardian (@gjb2048 ) |
@rogiervandongen Oh I'd want to 'discuss' with Eloy that it really is! Other people I've discussed B&R with have thought so too. Really interested in what you come up with. I can't quite get my head around the course module id changing, as I think here that there is no separate table that lists the icon changes as a relation to the actual files in the file table. An that former table would be the source table for the backup, as against, I suspect a more precise set of arguments when stating that the files table is the source table. And for that to be at the course, rather than section level in the backup, unless there is a module level? |
@gjb2048 Rogier send in a pull request could you please check/merge - I am not that comfortable with Github to get this sorted :) |
Hi Gemma,
Lots on, will do as soon as I can.
G
|
@gemguardian I've reviewed #9 and @rogiervandongen should be able to see my comments. |
Hi @gemguardian, Code checks done and integrated. I've not tested though, just done a visual inspection. G |
@gjb2048 I have tested the master M4.4 and it worked - could you backport this to the M4.1 version? |
@gemguardian All, done, hopefully works. |
@gjb2048 thank you it works ! |
Hi @gjb2048
When we are using the setting Change icon on the activities. And we create a backup and then import the course again (or make a copy of the course) we need to upload the images again.
Is there away to ensure that the images are part of the backup/import/copy proces in Moodle LMS
If so how much time does it take you to developed, and backport if from 4.4 > 4.3 > 4.2 > 4.1 branches
The text was updated successfully, but these errors were encountered: