«

»

Feb 25 2013

Restore a deleted Site Collection in SharePoint 2013 or 2010

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.

SharePoint

Note the SiteId as we need that for the next bit, which is.

Restore-SPDeletedSite –Identity <siteId>

SharePoint

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!

 

About Chris McKinley

Chris McKinley has written 29 post on this blog.

Technorati Tags: , , ,

1 comment

  1. Bjoern H Rapp

    Hi

    As far as I know: You can perform this action only the first 30 days(though customizable) after the site collection was deleted.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>