BackUp and Restore sites using PowerShell


Site Collection: 

Backup-SPSite http://server_name/sites/site_name -Path C:\Backup\site_name.bak

Restore-SPSite http://server_name/sites/site_name -Path C:\Backup\site_name.bak -Force

Site: 

Export-SPWeb http://site –Path C:\site_name.cmp

Import-SPWeb http://site –Path C:\site_name.cmp –UpdateVersions -Overwrite

Comments

Popular posts from this blog

This content database has a schema version which is not supported in this farm

Export all documents/Folders permissions to CSV using SharePoint PowerShell

SPUtility.js