C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
How to Perform the Backup/Restore SPSite operations using PowerShell
WhatsApp
Gowtham Rajamanickam
10y
47.8
k
0
4
25
Blog
BackUp
Syntax
Backup-SPSite [-Identity] <SPSitePipeBind> -Path <String> [-AssignmentCollection <SPAssignmentCollection>] [-Confirm [<SwitchParameter>]] [-Force <SwitchParameter>]
[-NoSiteLock <SwitchParameter>] [-UseSqlSnapshot <SwitchParameter>] [-WhatIf [<SwitchParameter>]]
Example
Backup-SPSite http:
//gauti.sharepoint.com/sites/site_name -Path C:\Backup\site_name.bak
Restore:
Syntax
Restore-SPSite [-Identity] <String> -Path <String> [-AssignmentCollection <SPAssignmentCollection>] [-Confirm [<SwitchParameter>]] [-ContentDatabase
<SPContentDatabasePipeBind>] [-Force <SwitchParameter>] [-GradualDelete <SwitchParameter>] [-HostHeaderWebApplication <String>] [-PreserveSiteID <SwitchParameter>] [-
WhatIf [<SwitchParameter>]]
Example
Restore-SPSite http:
//gauti.sharepoint.com/sites/site_name -Path C:\Backup\site_name.bak
Thanks for reading my blogs!!
Backup
Restore SPSite
People also reading
Membership not found