Link to home
Start Free TrialLog in
Avatar of jkeagle13
jkeagle13

asked on

Restoring SharePoint Multi-Tenant Environment from SQL Backup

Hello,

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.

Thank you,
Joseph Irvine
ASKER CERTIFIED SOLUTION
Avatar of Mohammed Khawaja
Mohammed Khawaja
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jkeagle13
jkeagle13

ASKER

I did try attaching it to a different SQL server. If you could send instructions I'd certainly be appreciative! There seems to be little information online concerning recovering multi-tenancy from SQL backups. A little out there on how to recover from an object model backup; but unfortunately I don't have that luxury.

Thanks!
I don't know if it will work but what I could suggest is you switch to full install, install PowerGui and then revert back to core.  Refer to http://blogs.technet.com/b/puneetvig/archive/2012/10/16/switch-between-full-and-core-in-windows-server-2012-using-powershell-3-0.aspx for more info.