Solved

Move SQL 2005 Instances

Posted on 2007-11-20
4
556 Views
Last Modified: 2008-02-01
I have an installation of SQL Server 2005 with 4 instances running on it.  The 4 instances running on it right now are:
MSSQL.1  Default Instance (MSSQLServer)
MSSQL.4 Accounting
MSSQL.7 SharePoint
MSSQL.10 Core

Drive D: has MSSQL.1, MSSQL.2, MSSQL.4, MSSQL.5 directories on it.
Drive C: has MSSQL.1 through MSSSQL.12 directories on it.  

I would like to move everything to the C: drive.  At that point I am going to back up the entire server, reconfigure it so that it has just one big C partition and restore to C:

How can I move all of the instances files from one drive to the other?  Is it even possible? Where did all of the extra MSSQL.x directories come from? Are they being used for report server or something?

I know this is a lot and I appreciate your help.

Jason
0
Comment
Question by:jlingg
  • 2
  • 2
4 Comments
 
LVL 25

Accepted Solution

by:
imitchie earned 500 total points
ID: 20322369
>How can I move all of the instances files from one drive to the other? Is it even possible?
one way is to detach all databases, then install the instances again on C. after that, attach the databases back to the correct instances
>Where did all of the extra MSSQL.x directories come from?
they are created per MSSQL instance you install
>Are they being used for report server or something?
they are the default data and log file locations for that MSSQL instance. the folders also store metadata about the database
0
 
LVL 1

Author Comment

by:jlingg
ID: 20360255
I have a couple of folders like
MSSQL.2 and MSSQL.5 where the only thing in them is a folder called OLAP.
I also have a couple of folders like MSSQL.3 where the only thing in them is a folder called "Reporting Services".
It does not look like they belong to any existing instance.  Do I need them or can these directories be deleted?

My running instances are in the following folders.  MSSQL.1, MSSQL.10, MSSQL.7, MSSQL.4
0
 
LVL 25

Expert Comment

by:imitchie
ID: 20361006
The .2, .5 etc are reporting/OLAP folders, they are like "instances"
if you get into problems when migrating/removing files from them, here's someone who has been there

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1206916&SiteID=1

it should not be a problem if you're reinstalling the same set of features, then attaching existing databases from the data folder
0
 
LVL 1

Author Comment

by:jlingg
ID: 20384769
Is that the best way to move everything - by reinstalling the instances?  Is it possible to just move everything from one disk to an other on the same machine.  I have moved all of the system and user databases but there are still the olap instances, and some other db files in the original instance folders (distmdl.mdf, mssqlsystemresources.mdf)
thanks
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
combine data in sql 1 29
SQL Where not exists in same table 3 41
insert query with value having 's 2 35
Help with SQL joins 9 38
by Mark Wills Attending one of Rob Farley's seminars the other day, I heard the phrase "The Accidental DBA" and fell in love with it. It got me thinking about the plight of the newcomer to SQL Server...  So if you are the accidental DBA, or, simp…
So every once in a while at work I am asked to export data from one table and insert it into another on a different server.  I hate doing this.  There's so many different tables and data types.  Some column data needs quoted and some doesn't.  What …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

759 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

20 Experts available now in Live!

Get 1:1 Help Now