Search This Blog

Monday 17 June 2013

Restore deleted Site and Site Collection in SharePoint 2010

Recently one of teammates has deleted Root Site Collection instead of deleting sub site. Then we get “HTTP 404 not found” error.



 So, I referred this blog. It helps me to know the PowerShell script to recover the deleted site collection.

Restore deleted sites
Go to Site Actions à Site Settings à Recycle bin (under Site Collection Administrator)
Change the view to “Deleted from end user Recycle Bin” option


Note: you need to be a site collection administrator in order to be able to access this recycle bin.

Restore deleted site collection

For this process you need to be a farm administrator as the process is performed from the SharePoint 2010 Management Shell on the SharePoint Servers. There are three PowerShell commands to take note of for this operation. They are:

Get-SPDeletedSite – this command gets a list of all deleted Site Collections in your farm.
Restore-SPDeletedSite – this command is used to restore a deleted Site Collection within your farm
Remove-SPDeletedSite  – this command is used to actually clear out any deleted Site Collection you no longer want to keep (think "Empty Recycle Bin").

Please refer below snapshot for an idea.


Reference

No comments:

Post a Comment