Thursday, February 21, 2013

How to perform Granular backup & restore in SharePoint 2010

In SharePoint 2007 you can perform granular backup through stsadm command only while in SharePoint 2010 it can be performed through stsadm command, Central Administrator and PowerShell.

Perform Granular Backup of site collection using stsadm command
stsadm -o backup -url < url of site collection> filename

Restore Granular Backup of site collection using stsadm command
stsadm -o restore -url < url of site collection> filename

Perform Granular Backup of site collection using Central Administrator
  1. Go to Central Administrator-> Backup & Restore-> Granular Backup.
  2. Click on Perform a site collection backup.
  3. Select the desired site collection and give the destination where you want to save your backup file.
  4. Now click on 'Start Backup'.
  5. You can see the status of the current backup operation on the Granular Backup Job Status screen.

Restore Granular Backup of site collection using Central Administrator
You can't perform granular restore of site collection because there is no such option in Central Administrator.

Perform Granular Backup of site collection using Windows PowerShell
  1. Go to Start-> All Programs-> MS SharePoint 2010 Products.
  2. Now click SharePoint 2010 Management Shell.
  3. Type the below command on Windows PowerShell command prompt
Backup -SPSite -Identity -Path [-Force] [-NoSiteLock] [-UseSqlSnapshot] [-Verbose]
-Force: It is used to overwrite a backup
-NoSiteLock: It is used to prevent site collection from going in to read only mode.

Restore Granular Backup of site collection using Windows PowerShell
restore -spsite -Path [-Force]




No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...