SharePoint/Teams: Restoring a Document Library

Summary

This article provides information on how to restore a SharePoint/Microsoft Teams document library that was deleted, overwritten, corrupted, or infected by malware by reversing all actions that occurred on both the files and the folders in the last 30 days.

 

How-To

Limitations

  • Only site owners can start a restore. During the restore, a restore in progress notice displays.
  • Restoring files uses version history and the recycle bin. If version history is turned off, you can’t restore files to a previous version.
  • Deleted files can’t be restored after they’ve been removed from the site collection recycle bin.
  • If you upload a file or folder again after deleting it, the restore operation for that file or folder is skipped.
  • If some files or folders can’t be restored, a log file is generated to capture the errors.
  • Restore this library is only available for the modern experience in SharePoint and can't be used to restore an entire library that's been deleted.

Red warning information icon. Note: Removing or renaming a Team's General channel cannot be restored using this procedure or any other procedure. Never remove or rename a Team's General channel.

 

Task: To restore a SharePoint/Microsoft Teams document library.

Instructions

Follow the easy step-by-step instructions and a video in Restore a shared library  from Microsoft Support.

 

Outcome

The library is restored to the state it was in before the first activity you selected. If you change your mind about the restore you just did, you can select Restore this library to undo the restore by selecting the restore action you just did.

 

Further Readings

Restore a shared library  

Restore items in the recycle bin that were deleted from SharePoint or Teams  

Find lost or missing files in OneDrive  

 

Need additional help?

For assistance concerning site creation, content sharing, file synchronization, or other common SharePoint, OneDrive, Teams, or Office app activities, we recommend our Microsoft 365 Learning sites:

Learn more about the great tools our Microsoft 365 Learning sites offer!

Visit the Technology Help Desk Support page to locate your local campus contact information or to submit an online technology support request.  For password issues you must call or visit the Help Desk in person.