All posts by chris

Restore a deleted Site Collection in SharePoint 2013, 2010 or Office 365

Restore a deleted Site Collection in SharePoint 2013, SharePoint 2010 or Office 365

If you have deleted a site collection and you want it back again it really is quite straight forward but not particularly obvious. It’s the same process for both SharePoint 2010 and 2013 and even easier in Office 365  – Another reason to move to the cloud!
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!

restoredeletedsitecollectionO365
If you have SharePoint on-prem 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.

getdeletedsitecollection

You’ll need to take a note of the site Id as we need that next. Run the following command but with you’re site Id.
Restore-SPDeletedSite –Identity
You’ll be asked to confirm, there wont be a message to say successful but if you go back to your site you’ll see it’s all back just how it was.

restoredeletedsitecollection