-
Bug
-
Resolution: Fixed
-
Minor
-
3.9.2, 4.1.1, 4.2.1
-
1
-
Team Hedgehog 2023 Sprint 2.1, Team Hedgehog 2023 Sprint 2.2, Team Hedgehog 2023 Sprint 2.3
-
Small
We enabled asynchronous backups in Site Administration / Courses / Backups / Asynchronous backup/restore. Before the backup files without user info or the anonymise functionality were saved in the user backup area. Asynchronous backups are saved in the course backup area. This is incomprehensible for our users. Is there a reason for this behavior?
This also leads to the problem that course backups are deleted when a course is deleted. This behavior is not expected.
Couldn't we change backup/util/helper/backup_helper.class.php lines 328-337?
// Backups without user info or with the anonymise functionality // enabled are sent to user's "user_backup" // file area. Maintenance of such area is responsibility of // the user via corresponding file manager frontend if (($backupmode == backup::MODE_GENERAL || $backupmode == backup::MODE_ASYNC) && (!$hasusers || $isannon)) { $ctxid = context_user::instance($userid)->id; $component = 'user'; $filearea = 'backup'; $itemid = 0; }
|