Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing the default Data and Log Location

Status
Not open for further replies.

Ken011

MIS
Oct 13, 2006
66
0
0
US
Greetings,

Can anyone please tell me how to move mdf and ldf files from C drive to H drive?

Thanks in advance
 
Option 1. Detach the database and move the files then attach the database.

Option 2. Backup the database and then restore the database moving the data files to the new location.

Denny
MCSA (2003) / MCDBA (SQL 2000)
MCTS (SQL 2005 / Microsoft Windows SharePoint Services 3.0: Configuration / Microsoft Office SharePoint Server 2007: Configuration)
MCITP Database Administrator (SQL 2005) / Database Developer (SQL 2005)

My Blog
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top