[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 569
  • Last Modified:

Move SQL 2005 Instances

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
jlingg
Asked:
jlingg
  • 2
  • 2
1 Solution
 
imitchieCommented:
>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
 
jlinggAuthor Commented:
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
 
imitchieCommented:
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
 
jlinggAuthor Commented:
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

Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now