Backup API
The Backup API provides a way to include your plugin's in the course backup. See Restore API for the part that takes care of restoring data.
The Backup API provides a way to include your plugin's in the course backup. See Restore API for the part that takes care of restoring data.
The Restore API provides a way to restore your plugin's data from a backup file created in Moodle 2.0 or later. For the information on how backup files are created, see Backup API. For the information on how to support restoring data from backup files created in Moodle 1.x, see Backup conversion API.