• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 653
  • Last Modified:

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
0
jkeagle13
Asked:
jkeagle13
  • 2
1 Solution
 
Mohammed KhawajaCommented:
If you are attaching a copy of the database on the same server, it will not work.  You have attach it to a different computer.  If you have issues, let me know and I will give you instructions on how to do it.
0
 
jkeagle13Author Commented:
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!
0
 
Mohammed KhawajaCommented:
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.
0

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now