Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Management Studio - Copy Database - How to set Default Folder Expand / Collapse
Author
Message
Posted Monday, February 18, 2013 6:09 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, June 03, 2013 3:57 AM
Points: 2, Visits: 14
Using the Management Studio Copy Database Wizard - is there a way to change the default destination folder for database and log files?
Even if I set the DefaultData and DefaultLog path in the server properties the Copy Database Wizard suggests the SQLServer default data folder (i. e. C:\Program Files\Microsoft SQL Server\MSSQL.3\MSSQL\DATA).

Thanks for any help.
Post #1421174
Posted Tuesday, February 19, 2013 9:02 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Yesterday @ 4:32 PM
Points: 2,063, Visits: 3,787
Pretty easy to change, however I'm not 100% certain you'll need to restart the MSSQL service in order for it to take effect (check BOL)

Right-Click on your SQL Server instance, go to Database Settings, change the locations for both the Data and Log files under "Database default locations"


______________________________________________________________________________
"Never argue with an idiot; They'll drag you down to their level and beat you with experience"
Post #1421699
Posted Wednesday, February 20, 2013 1:20 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, June 03, 2013 3:57 AM
Points: 2, Visits: 14
I have already set the Database default locations but they do not take effect for the Copy Database Wizard.
In my site, many users use the wizard to create test instances of databases, and there is always the risk of not changing the file location and filling up the system disk of the server.
Post #1421962
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse