howto move sql server system databases

Here’s a couple of links on how to move the MS SQL Server system databases:

In a nutshell:

  • for master, change startup parameters in Server Properties, stop SQL Server, move files, start SQL Server
  • for other system databases, restart SQL Server using Trace Flag 3608 (-T3608 startup param), use sp_detach_db and sp_attach_db, restart without Trace Flag
  • if SQL Server won’t start because of an error in the startup settings, the settings can be edited here:
 HKLM/SOFTWARE/Microsoft/MSSQLServer/MSSQLServerParameters
Tags:


Share This


 


One Response to howto move sql server system databases

  1. Excellent article. Very good knowledge sharing. Thanks for same.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>