Solved

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

Posted on 2011-03-02
6
201 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
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Select - Finding chars in a column 2 67
sql Audit table 3 75
SQL Server 2005 - Comparing Fields' Contents 6 44
Help Required 2 39
Recently, when I was asked to create a new SQL 2005 cluster, Microsoft released a new service pack for MS SQL 2005 what is Service Pack 3. When I finished the installation of MS SQL 2005 I found myself troubled why the installation of SP3 failed …
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

830 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