HI , I wan to copy full category (taht contains one or more courses) to another category. Or i can say i want tocopy a class to next session with its course contents. How can i do this stuff ? is there any way except backup and restore
I don't think its possible, but i would appreciate if other's may also confirm..
Have you tried "Back up n Restore"?
While doing back and restore it asks to configure as per your choice.
Never encountered/faced such requirement before. But I'll try and reply back. So far what we have been doing, we write a script, which running migrates data from one LMS version to another.
But copying a particular course category would be a new thing to me. Anyways, I am on it !!
Is there any setting that exclude user data from backup. I mean by setting to any moodle core function or any thing else . i need to copy only course contents .
$bc = new backup_controller(backup::TYPE_1COURSE, $course_module_to_backup, backup::FORMAT_MOODLE,
backup::INTERACTIVE_NO, backup::MODE_GENERAL, $user_doing_the_backup);
when i am using interacitivity to NO (backup::INTERACTIVE_NO) its backing up all course contents witj user data . I just want to copy course content. CAn you help me to do this??