Restore a deleted Site Collection in SharePoint 2013 or 2010
If you have deleted a site collection and you want it back again it really is quite straight forward. It’s the same process for both SharePoint 2010 and 2013.
If you are using Office 365 then it’s all through the admin interface for SharePoint. Under the section where you manage your site collections there is a recycle bin icon on the ribbon, just go in there and restore!
If you have SharePoint on-site fire up PowerShell on the server (make sure it’s either the Management shell or you have the SharePoint modules loaded)
Then run the following:
Get-SPDeletedSite
This will list all the deleted site collections, in this example I just have one.
Note the SiteId as we need that for the next bit, which is.
Restore-SPDeletedSite –Identity <siteId>
It will ask if you sure, so just say yes.
There is no output to say “success” but if you browse to your site it will now exist again!



1 comment
Bjoern H Rapp
February 25, 2013 at 6:38 pm (UTC 1) Link to this comment
Hi
As far as I know: You can perform this action only the first 30 days(though customizable) after the site collection was deleted.