Backup and Restore in SharePoint 2010 using PowerShell


In this post, we will discuss how to take backup and restore using PowerShell in SharePoint 2010.


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

Go to Start->All Programs> 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”



Read some SharePoint PowerShell tutorials:

Check out Best Alternative to InfoPath -> Try Now

You May Also like the Following SharePoint Online Tutorials: