Restoring SharePoint Multi-Tenant Environment from SQL Backup
Posted on 2014-02-22
I have a multi-tenant environment in SharePoint. This is a web application with multiple tenants (site subscriptions).
There are eight content databases that this web application is spanned across as we have added tenants over time.
Two content databases became corrupt. We have SQL backups of the content databases, and know which tenants were included within each of those content databases.
How can we restore the tenants from the SQL backups? Is it as simple as attaching the databases? When I attach one of the databases in a separate test environment and run an Mount-SPContentDatabase, it comes up with the GUID and all the standard information, but states 0 sites for the site count.