Here are the steps
- Backup the site collection
You can use Central Administration | Backup and Restore | Perform a site collection backup. You can use a UNC share path or you can specify a local disk path.
Alternatively, you can use Powershell to do the backup as well.
PS> Backup-SPSite "http://yourSPServerHere/sites/siteCollection1" -Path "C:\temp\siteCollection1.bak" - Copy the backup file to the new server or use a file share that both server can access to avoid copying the backup file. In this example, I kept the same path on the local disk for ease of syntax.
- Restore the site collection at a desired url
PS> Restore-SPSite "http://yourNewSPServerHere/sites/siteCollection1" -Path "C:\temp\siteCollection1.bak"
NOTE: Unfortunately, there is ability to do this in Central Administration like there is for the backup.
Also, notice I kept the same basic url (minus the server change)
Troubleshooting Powershell
If you get an error like the following:The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered.
Check here for details on how you can get access.
No comments:
Post a Comment