Recycle bin: Difference between revisions
(→Deleted courses: Update screenshots and text to better match Moodle 3.9 with Boost) |
Helen Foster (talk | contribs) (→Enabling the recycle bin: Note about backup_auto_activities needing to be enabled (MDL-66221)) |
||
Line 13: | Line 13: | ||
An admin can also set how long an item or a course will remain available until it is permanently deleted, and make the recycle bin visible in the administration block even when empty. By default, a 'Recycle bin' link only appears when there is something in the bin. | An admin can also set how long an item or a course will remain available until it is permanently deleted, and make the recycle bin visible in the administration block even when empty. By default, a 'Recycle bin' link only appears when there is something in the bin. | ||
Note: Automated backup settings in Site administration / Courses / Backups / Automated backup setup are also used for the recycle bin. Please make sure that 'Include activities and resources'(backup_auto_activities) is enabled (box ticked) for the recycle bin to work. | |||
==How does it work?== | ==How does it work?== |
Revision as of 13:29, 3 March 2021
What is the recycle bin?
- The recycle bin allows teachers to retrieve course elements they have mistakenly deleted. It also allows those with relevant category permissions to restore deleted courses.
- If deleted items are not needed, they are automatically permanently deleted after seven days (or a time specified by the admin.)
- The recycle bin was the first project funded by the Moodle Users Association.
Enabling the recycle bin
The recycle bin may be enabled or disabled in Site administration / Plugins / Admin tools.
An admin can also set how long an item or a course will remain available until it is permanently deleted, and make the recycle bin visible in the administration block even when empty. By default, a 'Recycle bin' link only appears when there is something in the bin.
Note: Automated backup settings in Site administration / Courses / Backups / Automated backup setup are also used for the recycle bin. Please make sure that 'Include activities and resources'(backup_auto_activities) is enabled (box ticked) for the recycle bin to work.
How does it work?
Deleted activities
1. Before a course teacher deletes an item, a reminder message appears:
2. If you mistakenly click 'yes', all is not lost. After a short while, a 'Recycle bin' link will appear either via the gear menu or in the Administration block (depending upon your theme). (The delay in the 'Recycle bin' link appearing is because it requires the cron to run and the page to be refreshed.)
3. Click the link and then click the 'restore' icon to retrieve the assignment or other item you accidentally deleted.
Deleted courses
1. Browse to Site administration / Courses / Manage courses and categories.
2. Find the category the course was in before it was deleted.
3. Click on that category's ⚙ icon to open the Actions menu and click 'Recycle bin':
4.Click 'Restore' to restore the deleted course:
Activity deletion in progress
A message 'Activity deletion in progress...' is displayed whilst an activity is being deleted.
Note: The cron should run every minute to ensure that activities are deleted promptly.
See also
- Can't remove Deletion in progress activities Moodle 3.4 forum discussion