question

DanielM-6075 avatar image
0 Votes"
DanielM-6075 asked DanielM-6075 answered

Restore only one site collection out of many in new farm

Hi,

We are looking to make parts of a web application accessible to the internet.
To do this we are setting up an entirely new farm in our DMZ. This should only be read-only so there is no problem that external and internal users don't see/edit the same sites.

To keep the external site updated we are looking to set up a scheduled task that exports the internal site collection to the DMZ and another job restores it in the external zone.

Now, the queston is. What should we think of?
We have 5 site collections + root but we only want to make 1 site collection external.

/
/sites/SC1
/sites/SC2
/sites/SC3
/sites/SC4
/sites/SC5

Can we create a new web application in the external zone. Create an empty content database. Then only restore the root+SC5?
Or do we need to restore the entire content database from the internal zone and then make a database attach then remove SC1-SC4?

office-sharepoint-server-itpro
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

sadomovalex avatar image
0 Votes"
sadomovalex answered sadomovalex edited

you may export single (needed) site collection with Backup-SPSite cmdlet and then import it to new farm with Restore-SPSite. The only thing which should be kept in mind is that SP versions should be identical on both farms (to patch level).


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SerkarAydin avatar image
0 Votes"
SerkarAydin answered

Hi Daniel,

Can we create a new web application in the external zone. Create an empty content database. Then only restore the root+SC5?

Yes this is possible. You can restore specific sites from unattached content databases. For more check out the docs:
https://docs.microsoft.com/en-us/sharepoint/administration/restore-content-from-an-unattached-content-database

If I could help you, please don't forget to mark my answer as solution.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

EchoDu-MSFT avatar image
0 Votes"
EchoDu-MSFT answered

Hello @DanielM-6075 ,

I agree with @SerkarAydin's point of view. You can restore site collections that you wanted from unattached content databases

Thanks,
Echo Du

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DanielM-6075 avatar image
0 Votes"
DanielM-6075 answered

Thanks for all the replies!

I have now tried this and can confirm that it works! And thanks sadomovalex for pointing out that the versions should be considered.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.