Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Restoring SharePoint Multi-Tenant Environment from SQL Backup

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
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…
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

792 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