Quantcast
Channel: Changing SQL Server (MSSQLSERVER) Service Account - Database Administrators Stack Exchange
Viewing all articles
Browse latest Browse all 2

Changing SQL Server (MSSQLSERVER) Service Account

$
0
0

I am sorry if this has already been answered in the past.

We have SQL Server 2016 which is our Dynamics NAV Database. Currently all backups are stored on local drive of the server. I have been given a task to change the destination of backups to a NAS box network drive. On the maintenance plan I changed the destination path to the network drive \10.##.#.##\databasebackup. I received following error:

Msg 3201, Level 16, State 1, Line 1

Cannot open backup device '\10.##.#.##\databasebackup\navdatabase.bak'. Operating system error 5(Access is denied.).

Msg 3013, Level 16, State 1, Line 1

BACKUP DATABASE is terminating abnormally.

After having a look at SQL Server configuration manager, I found that the Log On As account for SQL Server (MSSQLSERVER) is NT Service\MSSQLSERVER but Log On As account for SQL Server Agent (MSSQLSERVER) is domain service account. The service account used for SQL Server Agent (MSSQLSERVER) has read/write access to the network drive \10.##.#.##\databasebackup. In this case I believe I need to change the Log On As account for SQL Server (MSSQLSERVER) to a domain account, am I correct? If I change the NT Service\MSSQLSERVER to a domain account which has read/write access to the network share, does it break anything?

Thank you in advance for your help.


Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>