You get to go dumpster diving in a SharePoint Site Collection Recycle Bin! |
Since the recycle bin is really maintained at the database level your site collection is still available for recovery, it is just a matter of using the right commands to undelete your site collection!
It's going to be a one-two punch.
1) Get your deleted site collection ID
2) Restore the deleted site collection
1) Get-SPDeletedSite | Select Path, SiteID
This will give you a list all the deleted site collections with their site collection ID values
2) Restore-SPDeletedSite -identity 4bfa0e0c-4e34-3b2a-9134-a23b13ababe1
The second command will restore the site collection and all subwebs from the recycle bin - no DBAs need to be awakened from their slumber!
Happy restoring!
No comments:
Post a Comment