Solved

Move SQL 2005 Instances

Posted on 2007-11-20
4
558 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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to extract a "coded date" from a string field? 4 51
Where clause in stored procedure 8 50
SQL Restore Script - Syntax Error 8 87
CROSS APPLY 4 43
This article will describe one method to parse a delimited string into a table of data.   Why would I do that you ask?  Let's say that you need to pass multiple parameters into a stored procedure to search for.  For our sake, we'll say that we wa…
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 …
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

929 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