Share This Post

PowerShell

Backing Up and Restoring a SharePoint Site with PowerShell

Backing Up and Restoring a SharePoint Site with PowerShell

If you need to backup and restore a SharePoint site, PowerShell makes it easy. The following examples also show how to backup and old site and restore it to a new site.

Backing up:

Backup-SPSite -Identity “https://oldsite.com/sites/SharePointSite” -Path “D:\Backup\backup.bak” 

Restoring to a new location:

Restore-SPSite -Identity “https://newsite.com/sites/NewSharePointSite” -Path “D:\Backup\backup.bak


Looking for an awesome, no-nonsense technical conference for IT Pros, Developers, and DevOps? IT/Dev Connections kicks off in Dallas, Texas in 2018!

IT/Dev Connections

Share This Post

Leave a Reply