Backup and Restore in SharePoint 2010 using PowerShell

InfoPath alternatives for form designing SharePoint

In this post we will discuss how to take backup and restore using PowerShell in SharePoint 2010. Also you can check out my previous posts on:

– AllowUnsafeUpdates in SharePoint 2010

– PowerShell commands for SharePoint database

– Change default SearchResultPageURL in Search SharePoint 2010

Let see how to take an Backup/Restore of SharePoint Site Collection

Go to Start->All Program-> Microsoft SharePoint 2010 Products->open SharePoint 2010 Management Shell

Backup a Site collection with PowerShell command:

Backup-SPSite -Identity http://myserver -Path “c:\backup\file.bak”

Restore a Site Collection with PowerShell command:

To restore site collection you’ll use the following command. Use –Force if you want to overwrite the existing site collection

Restore-SPSite -Identity http://myserver -Path “c:\backup\file.bak”

Similar SharePoint 2013 Tutorials


Leave a Reply