all groups > sql server new users > january 2006 >
You're in the

sql server new users

group:

location of data files (changing this)


location of data files (changing this) Les Stockton
1/30/2006 8:30:17 AM
sql server new users: I moved a database from one server to another. After doing so, someone told
me that the data files need to be moved to a secondary disk. I'm needing to
know how to change SQL Server so that all of it's database files are located
somewhere besides the default location. How do I do this?
I went through the BOL, so don't tell me to look it up there. Couldn't find
this information. If you do refer to the BOL, please give me the steps to
find that information. I tried the index and that didn't work.
Re: location of data files (changing this) Andrew J. Kelly
1/30/2006 12:37:28 PM
The easiest way is to detach the db, move the files and attach it again.
These should help:


http://vyaskn.tripod.com/moving_sql_server.htm Moving DBs
http://www.databasejournal.com/features/mssql/article.php/3379901 Moving
system DB's
http://www.support.microsoft.com/?id=314546 Moving DB's between Servers
http://www.support.microsoft.com/?id=224071 Moving SQL Server Databases
to a New Location with Detach/Attach
http://www.support.microsoft.com/?id=221465 Using WITH MOVE in a Restore
http://www.sqlservercentral.com/columnists/cBunch/movingyouruserswiththeirdatabases.asp
Moving Users
http://www.support.microsoft.com/?id=246133 How To Transfer Logins and
Passwords Between SQL Servers
http://www.support.microsoft.com/?id=298897 Mapping Logins & SIDs after
a Restore
http://www.dbmaint.com/SyncSqlLogins.asp Utility to map logins to
users
http://www.support.microsoft.com/?id=168001 User Logon and/or Permission
Errors After Restoring Dump
http://www.support.microsoft.com/?id=240872 How to Resolve Permission
Issues When a Database Is Moved Between SQL Servers
http://www.sqlservercentral.com/scripts/scriptdetails.asp?scriptid=599
Restoring a .mdf
http://www.support.microsoft.com/?id=307775 Disaster Recovery Articles
for SQL Server
http://www.support.microsoft.com/?id=320125 Moving a Diagram
http://www.support.microsoft.com/?id=274463 Copy DB Wizard issues 2000


--
Andrew J. Kelly SQL MVP


[quoted text, click to view]

AddThis Social Bookmark Button