Restore a deleted site collection in SharePoint 2013
Applies to: SharePoint Foundation 2013, SharePoint Server 2013
Topic Last Modified: 2013-12-18
Summary: How to restore a site collection in SharePoint 2013 that was accidentally deleted.
This article describes how to restore a deleted site collection in SharePoint 2013.
|The steps in this article apply to both SharePoint Foundation 2013 and SharePoint Server 2013.|
When a site collection (that is, a SPSite object) is accidentally deleted in SharePoint 2013, the deleted site collection is stored in the SPDeletedSite object, not the SPSite object. To restore a deleted site collection, you must use the Restore-SPDeletedSite Windows PowerShell cmdlet or programmatically access the object model.
For examples of how to use the SPDeletedSite cmdlets, see Use Windows PowerShell cmdlets to manage sites in SharePoint 2013.