0

If you have a farm backup. How can you restore just one site or site collection using powershell / central administration please?

1 Answer 1

2

SharePoint farm backups allow you to target individual items within the backup for a restore, but you can't get any more granular within the backup than a content database.

When you restore that backup with Central Administration, you should see checkboxes next to the individual items that you can restore to your environment. With PowerShell, you first need to run Restore-SPFarm with the -ShowTree parameter, which will tell you what components are included within the backup you're trying to restore as well as the unique identifiers for each of those components that you'll need to pass through with the -Item parameter to restore the indvidual component.

The only ways you can target an individual site collection within a farm backup is if you either have a single site collection inside a content database or if you first restore to a recovery farm and use SharePoint's site collection backup to target the site collection you want.

John

2
  • Thanks for the very detailed answer. Much appreciated. I did not know about the -ShowTree parameter and the other details you mentioned about granularity. Thanks again! Commented Jun 23, 2012 at 7:39
  • No problem at all, glad it was helpful :) Commented Jun 27, 2012 at 13:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.