back SharePoint collection

Backup Site Collection Powershell

Backup Site Collection Powershell

As an administrator, you may need to backup a site collection in SharePoint Server. You can use PowerShell to back up a site collection. The following example demonstrates how to back up a site collection by using the Backup-SPSite cmdlet.

$url = “https://contoso.sharepoint.com/sites/marketing”

$destination = “E:\Backups\Marketing.bak”

Backup-SPSite $url -Path $destination

The Backup-SPSite cmdlet backs up a site collection and all of the content in the site collection. The cmdlet also backs up all of the site …