Solved

Restoring SharePoint Multi-Tenant Environment from SQL Backup

Posted on 2014-02-22
3
598 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 25

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 25

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

Microsoft Certification Exam 74-409

VeeamĀ® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VBA name newly created sheet 4 20
Help Required 3 89
Query group by data in SQL Server - cursor? 3 28
Need help constructing a conditional update query 16 36
Article by: Leon
Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

815 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