Undelete or recycler for all deleted items?

Undelete or recycler for all deleted items?

by Matt Jenner -
Number of replies: 15

The Moodle User Group Greater London (MUGGL) met today and discussed institutional backup policies. It would seem most of us either turn off regular backups or have only disaster recovery in place. Ultimately the majority of people who need to restore content need to restore things from 'a moment ago' or 'not sure, I dont know who deleted it'. Therefore, I wanted to ask the wider Moodle community - why does Moodle delete anything anyway? 

  • Delete a user - it says and is flagged as deleted. 
  • Delete a role assignment (yes, unassign) - student data remains but is 'invisible' 
  • Delete a resource - it's gone!
  • Delete user data (say from the Quiz Results table) - it's gone!

I wanted to ask, would Moodle benefit from having a 'recycle bin' - i.e. once something (anything) is deleted it's only flagged as deleted. Then when cron jobs run they check for 'deleted data' which is set to a period of time (day, week, month, year, forever) and only then is it properly and fully deleted. 

Does that make sense? I think it could save some huge problems for Moodle users, and support staff. It may be hard to implement but it could be very useful. 

Average of ratings:Useful (4)
In reply to Matt Jenner

Re: Undelete or recycler for all deleted items?

by Peter Roberts -

Hi Matt

That's an interesting idea. It would be great for occasions when staff delete things and ask for them back days / weeks later. Makes sense, given that disk space is getting cheaper these days and staff time getting ever more pressured.

What would happen in the event of a course reset? Maybe a global admin setting could be 'safe reset'. If this was set - resetting a course would basically clone it and hide the old one.

Pete Roberts
GLEU

In reply to Matt Jenner

Re: Undelete or recycler for all deleted items?

by Emma Richardson -
Documentation writers இன் படம் Particularly helpful Moodlers இன் படம் Plugin developers இன் படம்

I agree that this would be a great feature.  I suggest you create a feature request on tracker and post the link so that we can all vote for it.

In reply to Emma Richardson

Re: Undelete or recycler for all deleted items?

by Matt Jenner -

OK - thanks all for the input, I've made the Tracker entry  - I just wanted to see if I'd missed anything, or misunderstood the concept, but it seems we agree புன்முறுவல்

In reply to Matt Jenner

Re: Undelete or recycler for all deleted items?

by Rodolfo Siles -

We definitively need that functionality. I accidentally deleted and activity that took me an hour to create. If only it had a delete warning or a place where I can recover it. I will post this request on the forums, or even better a petition with the White House.

In reply to Rodolfo Siles

Re: Undelete or recycler for all deleted items?

by Kinde Mekuria -

Does this mean I cannot recover my forum post and all replies I have just deleted by accident?

Don't say yes!

I can even see everything fine when a click the back button on the browser. Since this forum post was made a year a go there might be some solution since then.

In reply to Matt Jenner

Re: Undelete or recycler for all deleted items?

by Bonni Shuttleworth -

I would love a recycle bin or some way to undelete an item. I deleted an assignment link, which included PoodLL feedback and a grade in the gradebook. Students are worried about it as am I, but fortunately I keep a paper log. It would be so easy to go to the recycle bin, litter box or whatever it would be called and restore that assignment. Perhaps it could be called RoodLL - restore.

In reply to Bonni Shuttleworth

This forum post has been removed

The content of this forum post has been removed and can no longer be accessed.
In reply to Deleted user

Re: Undelete or recycler for all deleted items?

by Derek Chirnside -

Marc Z, Tracker: http://docs.moodle.org/dev/Tracker_guide ie create an account, browse the items, follow them and create a new issue if you like.  Some people post in the forums first as sort of a canvas of opinion, and shaping the words.  If you want to run something pas us, post again here.

There are two views on tracker: developers think it is an easy process.  Others hate it.  And a few inbetween views.

Tips on creating tracker items, and interfacing with developers:

https://moodle.org/mod/forum/discuss.php?d=43952

-Derek