Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15889

How to backup to folder other than default? - 'NT Service\MSSQLSERVER' virtual account and NTFS permissions, SQL Server Express 2012

$
0
0

Hello All,

I installed SQL Server 2012 Express on standalone Server 2008 R2 (64b) as the default instance with all the default settings.

Server runs under 'NT Service\MSSQLSERVER' account. After googling for a while I found out that this is Virtual Account - new type of account available since Server 2008.

Now I need to backup my database to 'c:\dbbackup' and the service account needs permissions to this folder - otherwise I get 'access denied' error.

And here is the problem: I am unable to give this service account permissions to the 'c:\dbbackup' folder. 'NT Service\MSSQLSERVER' account is simply not on the list. MSSQLSERVER account is not present either. (I use right-clisk on the folder, then select Properties and Security).

I checked permissions for the 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA' folder.

'MSSQLSERVER' account is on the list and has full rights.

What the heck? How do I assign the same permissions to my 'c:\dbbackup' folder?

OK, I can change permissions to Everyone/full control but this not necesairly is the best approach.

What is the recommended solution? Please advise.


Viewing all articles
Browse latest Browse all 15889

Trending Articles



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