Can't take backup to the shared folder
-
13-03-2021 - |
Question
Need your help. My sql job is not able to take backup to the shared folder although the domain account, under which the sql agent service account is running, has full permission on that shared folder.
In addition to that, my sql service account uses default virtual login. So when I change that account to the domain account that I also used for sql agent service account, then the problem is fixed.
Why can't I take backup to shared folder using sql agent service account?
Solution
The service account for Agent is irrelevant. All Agent does it to tell SQL Server to produce a backup file. It is SQL Server that produces the backup file, hence it is the service account for the SQL server service that matters. You can't do anything about that.
So, either run SQL Server using a domain account; or use the virtual service account and assign privileges on the share to the domain computer account.