-
New Feature
-
Resolution: Unresolved
-
Minor
-
None
-
3.7
-
MOODLE_37_STABLE
-
5
This is a followup of both MDL-63263 and MDL-65218.
Right now, both the course and category recycle bins are using backup::MODE_AUTOMATED (since MDL-63263) to perform their backups.
And, while working ok, has some tradeoffs:
- It's a mode that was incepted for another type of backups (scheduled ones). And performs some special actions like storing files in different places (prevented via hack @
MDL-65218) - It makes recycle bin backups dependent of scheduled backup defaults. So, if different defaults are desired, it's impossible.
- It's confusing and prone to errors whenever we modify any automated functionality.
Because of all those problems, this is a proposal about to create a new backup::MODE_RECYCLEBIN so all recycle bin backups will have their own mode, with own settings and own logic.
HEADs UP: Don't forget the "hack" that was applied in MDL-65218 to keep backup::MODE_AUTOMATED working ok as recycle bin mode. And also the note in the admin setting @ MDL-63263 about automated defaults being also used by recycle bin ops.
Ciao
- has been marked as being related by
-
MDL-65218 Recycle bin is broken if backup_auto_storage is set to specified directory for automated backups (Regression of MDL-63263)
-
- Closed
-
-
MDL-63263 Recycle bin should always include user data
-
- Closed
-
-
MDL-35773 Include files option in backup settings
-
- Closed
-
- will help resolve
-
MDL-78495 Badges (at course level) duplicated for every item restored from recycle bin
-
- Open
-
-
MDL-68981 Recycle bin does not include user data if "General restore defaults > Include users" is No
-
- Closed
-
-
MDL-66221 Deleted activities cannot be restored from recycle bin when backup_auto_activities setting is disabled
-
- Closed
-
-
MDL-77548 Answer choices are deleted when restored from recycle bin
-
- Closed
-
-
MDL-75661 Have option to never include files in recycle bin backups
-
- Development in progress
-