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??