SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 How to change default path for database creation
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jayram
Starting Member

44 Posts

Posted - 10/01/2012 :  14:40:37  Show Profile  Reply with Quote
hi,

i have a SQL job that runs off a DTS package which creates a backup MDF file and attaches it to the server as a database everyday with a unique name like DATABASE_20120928, DATABASE_20120929 etc. They currently run on my C drive which is were all mdf and ldf are stored for all the databases.

is it possible to change the default data and log directory to another drive for this job alone.

"Enterprise Manager - right click on the Server - property - Database settings - Default Data / Log Direcotry"

tkizer
Almighty SQL Goddess

USA
35937 Posts

Posted - 10/01/2012 :  16:08:48  Show Profile  Visit tkizer's Homepage  Reply with Quote
You may need to edit the DTS package. What does it show for the code where it does the restore/attach?

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

v_yaduvanshi
Starting Member

India
6 Posts

Posted - 10/12/2012 :  08:26:40  Show Profile  Reply with Quote
You may change in your package at the time of restoring Database.
Regards,
Virendra Yaduvanshi
quote:
Originally posted by jayram

hi,

i have a SQL job that runs off a DTS package which creates a backup MDF file and attaches it to the server as a database everyday with a unique name like DATABASE_20120928, DATABASE_20120929 etc. They currently run on my C drive which is were all mdf and ldf are stored for all the databases.

is it possible to change the default data and log directory to another drive for this job alone.

"Enterprise Manager - right click on the Server - property - Database settings - Default Data / Log Direcotry"

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000