Backup Site Collection/Sub site/List(Library) in Share Point

Leave a Comment
Hello Everyone,

In current post we will see , how to take back up of Site Collection/Sub site/ List(Library).

Backup operations are associated with:
  • Site collection
  • Sub site
  • List(Library)
Backup of Site Collection using Power shell:
Syntax:
Backup-SPSite -Identity <SiteCollectionGUID/URL> -Path <BackupFile> [-Force] [-NoSiteLock] [-UseSqlSnapshot] [-Verbose]
Example:Backup-SPSite -Identity "http://server:1234" -Path "C:\\Backup\23Aug.bak"

Backup of Sub site using Power Shell:
Syntax: Export-SPWeb http://site –Path "site export.cmp"
Ex:  Export-SPWeb http://server:1234/subsite –Path "C:\\Backup\SubsiteBak.cmp"

Backup of List/Library using Power Shell:
Syntax:
export-spweb -identity http://URLOFYOURSITE -path "Path\fileName.cmp" -itemurl /ListName
Ex: export-spweb -identity http://server:1234 -path "C:\\Backup\ListBak.cmp" -itemurl /CustomerList

Related Post

0 comments:

Post a Comment