Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Moving to another disk

Author  Topic 

chedderslam
Posting Yak Master

223 Posts

Posted - 2010-02-16 : 10:13:11
How do I move the db files to another disk?

I need to free up space on my c drive and want to move the dbs to d:. ?How do I do this. I would like to do this for all dbs, including master. There are only a few so I can do it one by one if need be, no need for a script or anything.

Thanks.

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2010-02-16 : 15:23:51
http://support.microsoft.com/default.aspx?scid=kb;en-us;224071&Product=sql2k

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

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page

Peter99
Constraint Violating Yak Guru

498 Posts

Posted - 2010-02-16 : 16:35:17
for user databases, detach/attach or backup/restore method. For system databases search "how to move sql server system databases"
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2010-02-16 : 19:56:31
Peter, that's all in the link that I posted.

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

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page
   

- Advertisement -