Saturday, October 9, 2021

Powershell : Resotre a site collection from backup

Leave a Comment

How to restore SharePoint 2013 / 2016/ 2019 site collection from site backup


Scenario

Recently for a vendor based revamped project, vendor provided us site backup instead to restore on our Dev / QA environment. To quickly restore a site collection with SharePoint 2013 / 2016 / 2019 environment from site backup I used following power shell command.


Restore-SPSite -Identity "http://SharePoint/site/"-Path C:\Vendor_SiteBackup\v2.0\SomeBackupname.bak -Force


Here -force optional parameter will be used to overwrite existing site collection where we want to restore our site backup

If You Enjoyed This, Take 5 Seconds To Share It

0 comments: