News We Recently Launched AD Migrator and AD Reporter.

How to Restore a Deleted SharePoint Site? A Step By Step Guide

  author
Written By Mohit Jha
Anuraag Singh
Approved By Anuraag Singh
Published On October 14th, 2024
Reading Time 6 Minutes Reading

If you are a SharePoint administrator or just a user of SharePoint. You may have faced the issue of how to restore a deleted SharePoint site. If yes, then this comprehensive write-up is for you. Here you will find the solutions to recover your deleted SharePoint sites efficiently.

SharePoint cloud platform is a need of the hour. Almost every organization is using it to fulfill their regular necessities. SharePoint supports multiple types of sites and is accessible to most of the users within the organization. Due to this, sometimes the SharePoint sites get deleted mistakenly. Although the deleted SharePoint sites can be recovered using the Recycle bin for a limited period. But how, let’s find out. But before going deeper into the process, let’s figure out the benefits of recovering deleted SharePoint sites.

Advantages of Recovering Deleted SharePoint Sites

Below are some of the benefits that stimulate you to undelete all the deleted SharePoint sites.

1. Organizations handle multiple projects at the same time. Team leads prepare the SharePoint sites to keep track of the progress of the projects. However, in some of the projects, there are similar requirements that can be fulfilled by the previous project data. So, recovering the data of completed projects can reduce the time and effort of the ongoing projects.

2. As per the organization’s compliance and legal requirements, they need to preserve the data for a specific period.

3. SharePoint sites can be customized and configured with the SharePoint enormous features. So, restoring them is way better than building new customizations from the beginning.

4. Restoring the deleted SharePoint sites can also recover crucial data in the form of document lists and libraries.

How to Restore a Deleted SharePoint Site?

There are multiple types of sites in SharePoint Online for managing the organization’s workflow.
They can recover with somewhat similar approaches. The level of ownership to restore the deleted SharePoint sites is also different such as.

  • Team Sites with or without a Microsoft 365 Group and Communication sites can be recovered by the SharePoint administrator.
  • While the private and shared channel sites can be restored by the Team or Channel owners.

The retention period also varies for the sites. For instance, the Communication or Team sites can be recovered within 93 days. On the other hand, you need to restore the private and shared channel sites within 30 days only.

Steps to Recover Deleted Team or Communication Sites Using Admin Center

Below are the steps that you need to perform to recover deleted SharePoint sites.

Step 1. Launch the SharePoint Admin Center with the appropriate credentials.
Step 2. Hit the Sites option and then choose the Deleted Sites.
Step 3. Tick the checkbox next to the site that you want to recover.
Step 4. Finally, hit the Restore button to retrieve the deleted SharePoint site.

[Note:- The item which is restored will be saved to its original location.]

How to Restore a Deleted SharePoint Sites Using Recycle Bin?

Below are the required steps to recover the SharePoint from the recycle bin.

  1. Open the Site settings.
  2. Under the Site Collection Administration hit the Recycle bin option.
  3. Hit the Second stage recycle bin option in case the recycle bin is empty.
  4. Choose the Site and click on the Restore button to move the site from the Recycle bin to its original location.

How to Recover Deleted Shared or Channel Sites?

Follow the below steps to recover the deleted SharePoint sites.

Step 1. Launch the Microsoft Teams application and then open Manage Team.
Step 2. Click on the Channels option,
Step 3. Now, expand the Deleted option and press the Restore button.
Step 4. In the opened dialog box, hit the Restore button.

PnP PowerShell Commands to Recover Deleted SharePoint Sites

Execute the below PowerShell commands if you are good at it to restore a deleted SharePoint site.

#Config Variables
$TenantURL = "Enter Here"
$URLofDeleted_Site ="Enter Here"

Connect-PnPOnline -Url $TenantURL -Credentials (Get-Credential)

$Deleted_Site = Get-PnPTenantRecycleBinItem | Where {$_.URL -eq $URLofDeleted_Site}

If($Deleted_Site)
{

Restore-PnPTenantRecycleBinItem -Url $URLofDeleted_Site -Force -ErrorAction Stop
Write-Host -f Green "Deleted Site '$URLofDeleted_Site' Restored Successfully!"
}
Else
{
Write-host -f Yellow "Unable to Find Deleted site:"$URLofDeleted_Site
}

How to Prevent Your SharePoint Sites from Data Loss?

Accidental deletion or deliberate deletion of SharePoint sites is a common issue for SharePoint administrators. So, to tackle these types of situations, it is preferable to use the SysTools SharePoint Migration Tool. It can prevent your data by copying files with metadata tags in SharePoint. As a result, you can access the SharePoint data whenever you want even if the SharePoint data gets deleted.

Download Now Purchase Now

Below quick steps are required to accomplish the task.

  1. Download and Execute the tool.
  2. Select Source and Destination accounts.
  3. Choose Sites and then provide the account details.
  4. Fetch Sites and Users into the tool.
  5. Finally, click on the Start Migration button.

Quick Tips to Reduce Future SharePoint Sites Deletion

  • Use the above-recommended tool and store the backup of the SharePoint sites.
  • Do not provide site deletion permissions to multiple users.
  • Provide proper training to the users to avoid mistaken deletion of SharePoint sites.
  • Perform a regular check on the permission of the SharePoint sites.

Conclusion

In this write-up, we have explained the complete process of how to restore a deleted SharePoint site. All the approaches according to the types of sites are discussed in detail. Now recover your deleted SharePoint sites without any hindrances. Additionally, do not forget to use the above-suggested tool to prevent upcoming data loss.

Frequently Asked Questions

Q1. How do I restore my deleted SharePoint sites using Recycle Bin?
A – To recover your deleted SharePoint sites, you need to go to the Recycle bin and tick the checkbox next to the site. Then hit the Restore button.

Q2. Can I check whether my SharePoint site is in the Recycle bin or deleted permanently?
A – You can verify your SharePoint site in the recycle bin by searching using name or URL.

Q3. How do I recover my SharePoint site which is not in the Recycle bin?
A – If the site is not present in the recycle bin, that means it is deleted permanently. Now, you cannot recover it, but if you have used the above-mentioned tool and created a backup in another account, then you can access your permanently lost data from that account.

Q4. What is the default retention period for preserving the Communication sites?
A – The communication sites are kept in the recycle bin for 93 days only. After that, you cannot recover deleted SharePoint sites.

  author

By Mohit Jha

Mohit is a writer, researcher, and editor. Cyber ​​security and digital forensics are the two subjects that keep Mohit out of his seat. In addition, he hopes that the well-researched and thought-out articles he finds will help people learn.