locked
Where the deleted sitecollection goes in Sharepoint? RRS feed

  • Question

  • HI,

    I accidentally deleted a sitecollection. On searching through technet, I found a command Restore-SPDeletedSite Command and successfully restored the sitecollection. Now my question is if anything is deleted in subsite, we can restore it from the site recycle bin. If a subsite gets deleted, we can restore it through sitecollection recycle bin. But if a sitecollection is deleted, where it goes, and from where Restore-SPDeleteSite restores the whole sitecollection.

    Thanks and Regards,

    Gaurav Thawani

     

    Wednesday, August 6, 2014 7:16 AM

Answers

All replies

  • Hi,

    You can restore the site collection by using PowerShell command.

    First get the site collections which are deleted

    Get-SPDeletedSite


    Once you get the list of site collection use the GUID to restore the site collection with the following PS command.

    Get-SPDeletedSite | where{$_.SiteId -eq "d48e6455-a1ad-43f4-ac11-a5b558b06ead"} | Restore-SPDeletedSite

    For more information, please refer to the following article.

    SharePoint 2010 SP1 - Site Recycle Bin

    Please mark it as answered, if your problem resolved.

    Wednesday, August 6, 2014 7:39 AM
  • I have already restored the sitecollection. My question is from where Get-SPDeletedSite restores the sitecollection.
    Wednesday, August 6, 2014 7:44 AM
  • It resides inside(Site Recycle Bin) the content database of the same farm untill moved or removed.

    Refer below links

    Restore deleted site collection

    http://technet.microsoft.com/en-us/library/hh286319(v=office.15).aspx

    Move deleted site collection:

    http://technet.microsoft.com/en-us/library/jj219694(v=office.15).aspx

    Remove deleted site collection

    http://technet.microsoft.com/en-us/library/hh286317(v=office.15).aspx

    Hope this will helps you


    Senthilrajan Kaliyaperumal



    Wednesday, August 6, 2014 7:56 AM
  • All of these deleted items reside in the same place really, the content database.  Restoring is just a little bit different.  A site collection can only be deleted by an admin, and only be restored by an admin, so there isn't much use to making it an available option on the browser GUI.
    • Marked as answer by JasonGuo Sunday, August 17, 2014 4:32 PM
    Thursday, August 14, 2014 6:01 PM