1 This files describes API changes in /backup/*,
2 information provided here is intended especially for developers.
6 * New setting called "Include override permissions" has been implemented. The default
7 settings is OFF for import, and ON for restore.
11 * Local plugins can now hook into a backup and restore process of grade items by
12 using define_grade_item_plugin_structure method (See MDL-69418).
16 * New close() method added to loggers so they can close any open resource. Previously
17 any backup and restore operation using the file logger may be leaving unclosed files.
18 * New destroy() method added to loggers, normally called from backup and restore controllers
19 own destroy() method to ensure that all references in the chained loggers are deleted
20 and any open resource within them is closed properly.
24 * The backup_auto_keep setting, in automated backups configuration, is now
25 renamed to backup_auto_max_kept as part of a rationalise of naming (see MDL-50602)
29 * The backup_controller_dbops::create_temptable_from_real_table()
30 method is not available anymore. Temp tables must be created
33 * Using the info field from backup_ids_temp or backup_files_temp
34 must now go via backup_controller_dbops::decode_backup_temp_info() and
35 backup_controller_dbops::encode_backup_temp_info(). The implementation
36 of the encoding has changed. These new functions encapsulate any future
37 changes to the encoding.
41 * New optional param $sortby in backup set_source_table() allows to
42 specify the ORDER BY clause to be used. Previously it was required
43 to use the set_source_sql() more complex alternative in places
45 * The old 1.9 files backuplib.php, lib.php and restorelib.php and the bb directory,
46 (all under /backup) have been deleted and no code should rely on them anymore.
50 * Since 2.3.1+ the backup file name schema has changed. The ID of the course will always be part of
51 the filename regardless of the setting 'backup_shortname'. See MDL-33812.
55 * Since 2.3.1+ the backup file name schema has changed. The ID of the course will always be part of
56 the filename regardless of the setting 'backup_shortname'. See MDL-33812.
60 * Since 2.2.4+ the backup file name schema has changed. The ID of the course will always be part of
61 the filename regardless of the setting 'backup_shortname'. See MDL-33812.