Solved

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

Posted on 2011-03-02
6
203 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

by Mark Wills PIVOT is a great facility and solves many an EAV (Entity - Attribute - Value) type transformation where we need the information held as data within a column to become columns in their own right. Now, in some cases that is relatively…
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

738 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