Solved

SQL 2005 Install  can you relocate DB an dlogs at this point?

Posted on 2011-03-02
6
208 Views
Last Modified: 2012-05-11
hi, I would like the DB tempdb and logs to go on diffrent drives but dont get an option during set up

we normally use scripts which does all this but the script is way over my head in terms of editing it, it calls external assemblies etc
so. can it be done at install
is there a simple install script out there
or do i have to do it manually after install


cheers
0
Comment
Question by:mhamer
[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
6 Comments
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 35016934
>but dont get an option during set up
exactly

>so. can it be done at install
no
0
 

Author Comment

by:mhamer
ID: 35016969
thanks for that.

eg can i set the registry prior then run install

can i add switches to the setup

the script i cant fathom does it all at install, so it can be done im asking how. it may not use the GUI granted
0
 

Expert Comment

by:Bonne001
ID: 35016975
I do not understand your question are you moving only the SQL databases or are you relocating the SQL server also?

Try this link:  http://support.microsoft.com/kb/224071

We move databases all of the time by doing a backup and restore on different SQL Servers.  
0
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 

Author Comment

by:mhamer
ID: 35017175
im installing a new Sql server

when the time comes i would like the databases that are created to automatically stor ethere Db and logs on diffrent drives.

I know how to do it after the fact, it would be nicer for me on the test rig to have this already done
0
 
LVL 15

Accepted Solution

by:
derekkromm earned 500 total points
ID: 35017366
No, but one thing you could do to automate it is create a script that has the necessary SQL commands

Then, create a batch file that first runs the sql install, and then, once complete, executes the SQL script you created above against the new server/instance.

That way, you just run the batch file and everything should be setup as desired.
0
 

Author Closing Comment

by:mhamer
ID: 35159806
Thank you
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

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…
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

617 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