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

Move SQL 2005 Instances

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Error message when scheduling a job using a linked Server 12 67
SQL Select - Finding chars in a column 2 67
SQL Encryption question 2 61
Passing value to a stored procedure 8 106
There are some very powerful Data Management Views (DMV's) introduced with SQL 2005. The two in particular that we are going to discuss are sys.dm_db_index_usage_stats and sys.dm_db_index_operational_stats.   Recently, I was involved in a discu…
INTRODUCTION: While tying your database objects into builds and your enterprise source control system takes a third-party product (like Visual Studio Database Edition or Red-Gate's SQL Source Control), you can achieve some protection using a sing…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

789 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