I’m not looking to relocate the database to another server entirely, but just move the data file(s) and log file to another drive with more space. I’ve seen conflicting directions on how to do this, so I’m looking for the recommended proper way of doing it.
I’m not looking to relocate the database to another server entirely, but just move
Share
Detach the Database:
Move the Database files (Xcopy through xp_cmdshell shown):
ReAttach Database:
There’s more detail at this Microsoft KB article.