Solved

Attach Database SharePoint 2007 to 2010 then SQL 2008 Mirror BOMBS

Posted on 2010-08-23
4
428 Views
Last Modified: 2012-05-10
Ok here is my scenario.
I have a SharePoint 2007 farm, one front end server and one backend sql 2005 server. I want to install sharepoint 2010 on a new server and install sql 2008 on another new server. What I have done is,
installed sharepoint 2010 on a new box. Installed sql 2008 on a new box.
Ran the config wizard on 2010 and pointed to the new sql server
Tested OK.
I took a backup of my sql db from 2005, copied it over to my new 2008 sql server, restored it and attached it to my main web app in sharepoint 2010
All works fine - i can browse all my old sites on the new sharepoint box, but the issue is now I want to mirror the database onto another sql 2008 box.
I take a backup of my database from the import into the 2008 sql box, and i copy it to my new mirrored sql server and i restore (no recovery mody)
once i restore, the new sql 2008 server just shows the database as (Restoring...)
even though it said it restored successfully.
It will not let me expand the database or restore the trn logs either.
I tried many times, rebooting and such and nothing will allow me to mirror the database due to it being in that restoring mode.
0
Comment
Question by:jdisorg
  • 3
4 Comments
 
LVL 21

Accepted Solution

by:
chapmanjw earned 500 total points
ID: 33506117
What type of replication are you trying to setup?

I have had success in an Active/Passive SQL cluster by having the cluster and SQL instance setup first.  Then connect to the instance name (not a specific node) and restore the database.  Then attach it to the SharePoint farm.
0
 
LVL 2

Author Comment

by:jdisorg
ID: 33511125
Im trying to do a mirror, with no witness for the time being. I am going to wipe that db from sharepoint, then try the mirror.
Ill see what happens and reply back.
0
 
LVL 2

Author Comment

by:jdisorg
ID: 33511132
BTW i meant to say I know the mirroring works as far as firewall and network go, as i created a simple database and mirrored it over fine.
0
 
LVL 2

Author Closing Comment

by:jdisorg
ID: 33514734
That completely did it, removing the database from the web app in spoint allowed the mirror to go thru fine. I REALLY APPRECIATE YOUR HELP!
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Join & Write a Comment

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

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