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
- Go to Central Administrator-> Backup & Restore-> Granular Backup.
- Click on Perform a site collection backup.
- Select the desired site collection and give the destination where you want to save your backup file.
- Now click on 'Start Backup'.
- 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
- Go to Start-> All Programs-> MS SharePoint 2010 Products.
- Now click SharePoint 2010 Management Shell.
- 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