Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Move SQL 2005 Instances

Posted on 2007-11-20
4
Medium Priority
?
567 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
[X]
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
  • 2
  • 2
4 Comments
 
LVL 25

Accepted Solution

by:
imitchie earned 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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…
I am showing a way to read/import the excel data in table using SQL server 2005... Suppose there is an Excel file "Book1" at location "C:\temp" with column "First Name" and "Last Name". Now to import this Excel data into the table, we will use…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

618 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