How to Restore Deleted Site Collection or Subsite in SharePoint 2010?

In SharePoint 2007, There was a wonderful tool from Codeplex: Site Delete Capture to back up sites automatically when they gets deleted, So that we can restore a deleted site collection in SharePoint 2007.

In SharePoint 2010 SP1 and later, Microsoft added native support to capture/restore site collections or Sub-sites in the event of deletion.

So, when your sub-sites gets deleted, navigate to Site collection recycle bin and you can find the deleted sites, you will be able to restore from there.

sharepoint 2010 recover deleted site
SharePoint 2010 recover deleted site

What to do when the Site collection itself deleted?
How to restore deleted sites in SharePoint 2010? To recover deleted site collection in SharePoint 2010, You can use these three cmdlets:

  1. Get-SPDeletedSite – Displays list of sites deleted.
  2. Restore-SPDeletedSite – Restore a deleted site
  3. Remove-SPDeletedSite – To permanently remove the deleted site collection.
sharepoint 2010 recover deleted site collection
SharePoint 2010 sp1 restore deleted site collection

Permanently Remove the Deleted sites to Recover Disk Space: 

After a while, many site collections were deleted in a clean-up activity. So decided to permanently delete all deleted site collections from recycle bin. Here is the PowerShell script:

Get-SPDeletedSite -webapplication | Remove-SPDeletedSite

Salaudeen Rajack

Salaudeen Rajack is a SharePoint Architect with Two decades of SharePoint Experience. He loves sharing his knowledge and experiences with the SharePoint community, through his real-world articles!

6 thoughts on “How to Restore Deleted Site Collection or Subsite in SharePoint 2010?

  • May 29, 2020 at 10:38 AM

    Nice article, Salaudeen! I was able to restore an accidentally deleted site successfully.

  • July 19, 2016 at 3:06 AM


    Is there any way to restore deleted site collection through PowerShell in MOSS 2007?

    Can you please help me on this.


  • March 18, 2013 at 12:50 PM

    Saved my life, thanks! 🙂

  • March 7, 2013 at 10:35 PM

    Where is the “Donate” button?

  • December 6, 2012 at 6:27 PM

    Oh my God – Thank you!!!!


Leave a Reply