Solved

SQL 2008 std R2 - Copy Data folder?

Posted on 2013-01-25
4
328 Views
Last Modified: 2013-01-25
I have Windows server 2003 std/SQL server 2000 std server that I'm going to do an "In place"  upgrade on to bring it to SQL Server 2008 std R2.  (Presuming everything goes well with that...)  I have another server I will setting up as Windows server 2008 std R2 / SQL server 2008 std R2 (32 bit SQL- same as before on SQL 2000).

With the SQL server software "stopped", can I hook a crossover cable between the 2 servers and copy the entire contents from Program Files\Microsoft SQL Server\MSSQL\Data folder from the Windows 2003\SQL 2008 (upgraded) machine to the "Data" folder on the Windows 2008\SQL 2008 and everything be fine with SQL server?

This is how I've always done it on SQL 2000 to go from an old server to a new server and it has always worked.  Just wondering if that still applies in SQL 2008?

thanks
0
Comment
Question by:sqdperu
[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
4 Comments
 
LVL 40

Expert Comment

by:lcohan
ID: 38819207
In my opinion that is the worst option you choose. I would MAKE SURE I have good FULL db backups for all my user DBs, script ALL jobs, have saved any DTS packages, etc from old server then install a new SQL 2008 and transfer ALL old SQL logins, restore the DBs, jobs, SSIS packages, etc...
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 38819248
>With the SQL server software "stopped"
yes, that should work indeed.
0
 

Author Comment

by:sqdperu
ID: 38819802
lcohan,  For simplicity sake, I didn't list the exact details.  I actually have a "go between Work PC".  So the "Work" PC wil be identical to the old server (Win2003\SQL2000).  I will copy the "Data" folder over from the old server to the "Work" PC, run the SQL 2008 Update in Place on it, then copy the SQL 2008 "Data" folder to the new Win2008\SQL2008 server.  So if something does not work, I can always plug the old server back in and then try to figure out what went wrong.  So I don't plan on clobbering the old server.

angelIII,  Have you actually tried it on SQL 2008?  I was hoping it would work the same way, but didn't know if MS made some change that would prevent it.  I don't want to mess with jumping through a bunch of "Extra hoops" if all that is really necessary is to copy all the .ldf and .mdf files in the Data folder.
0
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 total points
ID: 38819858
yes, we have done that last month.
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

628 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