-
Sub-task
-
Resolution: Won't Do
-
Minor
-
None
-
Future Dev
This web service function will perform a full backup of a course
It's a copy of the current backup functionallity in Moodle,
Parameters:
----------
course id - int The course id to backup
backup settings - struct of backup settings:
'users' => 'Default to true',
'role_assignments' => 'Default to true',
'user_files' => 'Default to true',
'activities' => 'Default to true',
'blocks' => 'Default to true',
'filters' => 'Default to true',
'comments' => 'Default to true',
'completion_information' => 'Default to true',
'logs' => 'Default to true',
'histories' => 'Default to true'
destination - Where to store the mbz file, string possible values
course - Default, store the backup in the own course backup area
userprivate - Current user private files
automatic - Automatic backups area
/any/path - A directory writable in the server
Return value:
-----------
null
Jerome, I need some feedback about the WS function name and parameters, other options are:
core_backup_course_backup
I will start developing the method, I will change anything to get this function in core
- has a non-specific relationship to
-
MDL-29934 Web service API Roadmap
-
- Closed
-