Pregunta

I have a Site Collection Content DB back up. I want to create/ restore to existing site collection. Are there any ways to do that?

¿Fue útil?

Solución

We can only Attach an existing content database to a web application, while cannot attach an existing content database to a site collection.

To attach an existing content database to a web application:

1.Restore a backup copy of the database in SQL.

2.Use the following PowerShell to attach an existing content database to a web application:

Mount-SPContentDatabase "<ContentDb>" -DatabaseServer "<DbServer>" -WebApplication http://SiteName

Refer to the article about Attach or detach content databases in SharePoint 2013:

https://technet.microsoft.com/en-us/library/ff628582.aspx

Otros consejos

You did not specify which version of SharePoint you have. But if it is at least 2010, unattached content database can be used.

See https://technet.microsoft.com/cs-cz/library/hh269601(v=office.14).aspx

  1. Restore the database to SQL server
  2. Use PowerShell or UI to restore the site collection you need
Licenciado bajo: CC-BY-SA con atribución
scroll top