About Me

Having 12 years experience in Microsoft technologies.Since more than 7 years working in SharePoint technologies. Expert in providing consultation for SharePoint projects. Hands on with development and administration.

Wednesday, 11 December 2013

Backup and Restore the SharePoint 2010 site using PowerShell command

Backup-SPSite –identity "<url of site of which you want to take backup>" –path "<path where your backup file resides\name of your backup file.bak>"

e.g.: Backup-SPSite –identity "http://domainName:2711" –path "C:\BackupFolder\mybackup.bak"

Restore-SPSite –identity "<url of that site on wich you want to restore>" –path "<path of your backup file\name of your backup file.bak>" -force

e.g.: Restore-SPSite –identity "http://domainName:2711" –path "C:\BackupFolder\mybackup.bak" –force

No comments:

Post a Comment