Wednesday 6 July 2016

Restore a deleted Site Collection in SharePoint 2013

Restore a deleted Site Collection in SharePoint 2013


Restore Site Collection in SharePoint 2013 On Premise
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, go to Recycle Bin and restore it.
If you have SharePoint on-Premise fire up PowerShell on the server. Make sure it's either the Management shell or you have the SharePoint modules loaded.
Here is an example of How to restore a deleted Site Collection in SharePoint 2013 On Premise.

Step 1: Go to Central Administration -> Application Management, in Application Management from Site Collection go to View All Site Collections. Here you can see all the site collection for each Web Applications.

 

Step 2: Here to show how to Restore Site Collection using Power Shell, I have created a Site Collection named sample site in a Web Application.

 

Step 3: Now If That Site Collection will be deleted then we can restore it using PowerShell. Here is a list where you can see that the sample site collection which I created is now not there because it is deleted.
 

You can restore your deleted Site Collection from SharePoint Farm using Powers-shell.

Step 4: Get Deleted Site Collections. Open SharePoint PowerShell and Type following 
  Get-SPDeletedSite
  It will Return Deleted Site collections.
 

Step 5: Now write command for Restore Deleted Site Collections.
 Restore-SPDeletedSite -Identity SiteID-From-Above-Screen
 After Pressing Enter it will ask for confirmation. Press Y and Proceed.

 

Step 6: Now after writing this commands in SharePoint 2013 Management Shell the Site Collection will again be restored. You can see that in below screen:


    
  

Restore Site Collection in SharePoint 2013 Online

The Recycle Bin in SharePoint Online for Enterprises provides a safety net when an entire site collection is deleted. When a SharePoint Online administrator deletes a site collection, it is placed in the Recycle Bin, where it is kept for 90 days before it is automatically permanently deleted.
This blog is about on how a SharePoint Online administrator can restore a deleted site collection.
As a SharePoint Online Administrator, you can view and manage deleted site collections from the SharePoint Online Administration Center Recycle Bin page. You can view site collections that are currently in the Recycle Bin, see how many days are left before the site collection is permanently deleted, and restore a deleted site collection without contacting Microsoft Support.
To permanently delete a site collection after it has been placed in the Recycle Bin, you don't need to take any additional action; it is automatically removed from the Recycle Bin after 90 days. You can restore a deleted site collection if you have met all of the following conditions:
  • The site collection has been in the Recycle Bin no longer than 90 days.​​
  • The usage quota for your SharePoint Online tenant has not been exceeded.
  • The storage quota for your SharePoint Online tenant has not been exceeded.
If you try to create a new site collection that uses the same URL as a site collection that is in the Recycle Bin, you will be prompted to permanently delete the site collection in the Recycle Bin before you can proceed.

Here is the example of How to restore deleted Site Collections using Recycle Bin in SharePoint 2013 Online.
View deleted site collections by using Recycle Bin page

Step 1: Navigate to the SharePoint Online Administration Center page and click Site Collection.

 
Step 2: On the ribbon, click Recycle Bin.

 
 ​
Step 3: Here you can see the Site Collections which are deleted.

 

Restore a deleted site collection using Recycle Bin


Step 1: Go to the SharePoint Online Administration Center and click Site Collection.

 

Step 2: On the ribbon, click Recycle Bin.

 

Step 3: In the Recycle Bin, select the check box next to the site collection that you want to restore.

 

Step 4: On the ribbon, click Restore Deleted Items.

 

Step 5: Now click on Restore button to restore the Site Collection.

 

Step 6: You will be redirected to the Site Collection page from Recycle Bin page and you can see the Site Collection is again restored.

 



No comments:

Post a Comment