Access denied for user “Server\User”

Making scheduled SQL Server database backups with the help of SQLBackupAndFTP you can face some issues. Here we are going to discuss one of them. Let’s assume you created a scheduled database backup job and made all necessary settings, even clicked the “Run Now” button to check the backup job and everything works perfectly. But when a time comes to make a backup according to the schedule you receive the following error message:  

10/10/2016 14:22:43 ERROR: Access denied for user "Server\User". Access to the path 'D:\Backups\Adventureworks.bak' is denied.

10/10/2016 14:05:01 Creating backup of Adventureworks to D:\Backup (full) 
10/10/2016 14:05:10 ERROR: Access denied for user "Server\User". Access to the path 'D:\Backup\Adventureworks.bak' is denied. 
10/10/2016 14:05:12 Delete temporary folder: "C:\Temp\Pranas.NET\SQLBackupAndFTP" 
10/10/2016 14:05:13 ERROR: Job finished (With Errors) 
Sending report to admin(SMTP)
or the following
10/10/2016 15:47:35 ERROR: Backup failed > "Adventureworks": Google Drive exception > Cannot save common external data of "csadfggtr34653-734g54-ret65-5443-dsf98nwe". Access to the path 'C:\ProgramData\Pranas.NET\SQLBackupAndFTP\Destinations\External' is denied. > Access denied for user "Server\User". 

Access denied for user “Server\User” – Solution

You can get this issue because the user from which you try to backup the databases does not have enough permissions.

The solution is very simple, all you need to do is to run SQLBackupAndFTP and go to the SQL Server connection settings, where it is necessary to specify the credentials for a user who has enough permission to work with selected databases.

Leave a Reply

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