Forum Discussion

Tokutoku's avatar
Tokutoku
Copper Contributor
May 14, 2020

Best practices for restart a machine hosting MS SQL Server

Hello Everyone,

 

I need your support on the below scenario.

 

MS SQL SERVER instance is running on Windows Server 2012 R2.

Do I need to stop the ”MSSQLSERVER" service before restarting a Windows Server OS on Windows "shutdown /r" command or Windows GUI "Restart" to prevent data corruption?

 

I think the OS shutdown sequense runs "net stop SQL Server (MSSQLSERVER)" in the background and does a safe restart, is that correct?

 

Regards,

Resources