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:
Backup of Sub site using Power Shell: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)
Syntax: Backup-SPSite -Identity <SiteCollectionGUID/URL> -Path <BackupFile> [-Force] [-NoSiteLock] [-UseSqlSnapshot] [-Verbose] Example:Backup-SPSite -Identity "http://server:1234" -Path "C:\\Backup\23Aug.bak"
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
0 comments:
Post a Comment