backup/restore without user data -Workshop and exercise modules

Re: backup/restore without user data -Workshop and exercise modules

by Eloy Lafuente (stronk7) -
Number of replies: 0
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Hi Riaan,

including only "teacher data" could be very problematic as some modules, forums, for example, have such data (posts) mixed with "user data" (other posts). Trying to backup/restore only teacher posts would break the structure (because missing student data creates "holes" in the discussion tree).

An alternative to activities requiring initial teacher data is to implement some type of "virtual teacher" in the backup file. Such "virtual teacher" will be associated to an existing teacher at destination (if it exists) or will ask for one, or something similar...

Ciao smile