Solved

Restoring SharePoint Multi-Tenant Environment from SQL Backup

Posted on 2014-02-22
3
590 Views
Last Modified: 2014-03-10
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
Comment
Question by:jkeagle13
  • 2
3 Comments
 
LVL 24

Accepted Solution

by:
Mohammed Khawaja earned 500 total points
ID: 39879940
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
 

Author Comment

by:jkeagle13
ID: 39879947
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
 
LVL 24

Expert Comment

by:Mohammed Khawaja
ID: 39879950
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

The new Microsoft OS looks great, is easier than ever to upgrade to, it is even free.  So what's the catch?  If you don't change the privacy settings, Microsoft will, in accordance with the (EULA) you clicked okay to without reading, collect all the…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now