Everyone has had the sinking feeling. A spreadsheet or a Word document that gets saved over the top of a previous one you were using as a model. We had a client lose work recently when a folder got dragged into the bin by mistake. Or there ‘s the time when a colleague “tidies up” a shared Teams channel and deletes half the project files with it.
If those files live in OneDrive, SharePoint or Teams, there is a good chance you can get them back yourself. Microsoft 365 has four built-in ways to do it, and each one suits a different kind of mistake. (On top of that, for many clients, we also have a third-party 365 backup in place as a fail safe)
1. Version History
You can use this when a file still exists but its contents are wrong. Its perfect for those times when you, or someone else. accidenlty overwrittes a document, deletes a tab in a workbook or saves a draft over the final copy.
OneDrive and SharePoint keep earlier versions of your files, and version history works with all file types, including PDFs, photos and videos as well as Office documents. To roll back:
- Go to onedrive.com (or the SharePoint library) and find the file.
- Right-click it and choose Version history.
- Select the three dots next to the version you want, then Restore.
(Or use File/Info/Version History directly in Word or Excel)
If you have the OneDrive sync app, you can do the same thing by right-clicking the file in File Explorer. The restored version becomes the current one, and the version you replaced stays in the list, so nothing is lost if you pick the wrong one.
The OneDrive recycle bin
Deleted files and folders don’t vanish straight away. In OneDrive on the web, select Recycle bin in the left-hand menu, tick the items you want and choose Restore.
By default, deleted items can be restored for 93 days, unless your administrator has changed that setting. (Personal accounts get 30 days.)
You can only restore items that were in your own OneDrive, not files someone else shared with you. Once something has been emptied from the recycle bin, it is gone for good.
SharePoint and Teams
Files in a Teams channel are stored in SharePoint, so that is where the recycle bin can be found. From the channel’s Files tab, choose the option to Open in SharePoint, then select Recycle bin in the left-hand navigation. If it isn’t there, go to Settings, then Site contents, and you’ll find it at the top right.
Tip: in SharePoint for Microsoft 365, anyone with “edit permissions” can see and restore items that were deleted by someone else. You don’t have to track down the person who deleted it.
SharePoint keeps deleted items for 93 days from the original deletion. If an item has already been emptied from the site recycle bin, it moves to a second-stage site collection recycle bin for the rest of that period, and a site collection administrator may still be able to recover it.
Restore your whole OneDrive
This is for when things get more serious. Restoring your OneDrive rolls back every change to every file and folder to a point in the last 30 days.
- Sign in at onedrive.com.
- Go to Settings > Restore OneDrive.
- Pick a date such as Yesterday, or choose Custom date and time.
- Use the activity chart and feed to find when the problem started, then select the earliest activity you want to undo.
- Scroll back to the top to check everything you’re about to undo, then select Restore.
The daily activity chart is handy for spotting a sudden spike in changes, which is often the moment something went wrong. Any files created after your chosen restore point are sent to the recycle bin rather than deleted, and you can undo the whole restore by running it again.
If OneDrive has detected ransomware, it suggests a restore date for you. The feature needs a Microsoft 365 subscription, and for SharePoint or Teams files there is a separate option to restore a whole document library.
Know the limits
These tools are designed for mistakes and short-term recovery. They all have time limits, and none of them can bring back something that has been permanently deleted. For files your organisation can’t afford to lose, a proper Microsoft 365 backup and sensible retention settings are still worth having.(Like KARE 365 Backup)
If you’re not sure how versioning, retention or backup are set up in your Microsoft 365 tenant, talk to us.
