Permissions problem - Warning 200
DanMoran
Posts: 14
My server is fairly locked down; it caused problems on installation. Now it's causing problems on backup -- I'm failing to backup to the directory I'm aiming at, with the error:
Warning 200: Error creating backup file ...
Warning: System Error 5 (Access is denied)
I installed the app using using the SQL Server login account. This is the code that's failing:
EXECUTE master..sqlbackup
'-SQL "BACKUP DATABASE [DanTest] TO DISK = ''f:\db\backup\<AUTO>.sqb''
WITH DISKRETRYINTERVAL = 30, DISKRETRYCOUNT = 10, THREADCOUNT = 15"'
Any suggestions would be appreciated.
Warning 200: Error creating backup file ...
Warning: System Error 5 (Access is denied)
I installed the app using using the SQL Server login account. This is the code that's failing:
EXECUTE master..sqlbackup
'-SQL "BACKUP DATABASE [DanTest] TO DISK = ''f:\db\backup\<AUTO>.sqb''
WITH DISKRETRYINTERVAL = 30, DISKRETRYCOUNT = 10, THREADCOUNT = 15"'
Any suggestions would be appreciated.
Comments
What is the result when you run the following:
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
<SQBUTILITYRESULT>:1:
When I grant full rights to the group "sql users" and add the startup account to that group, I get:
<SQBUTILITYRESULT>:0:Insufficient rights to read folder : The operation completed successfully. Insufficient rights to create files : Cannot create file "f:\db\backup\sql backup test 20110505110029228.txt". Access is denied.
It appears my group level permissions aren't persisting through to the startup account ...
Thanks.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
<SQBUTILITYRESULT>:0:Insufficient rights to read folder : The operation completed successfully. Insufficient rights to create files : Cannot create file "\\NAS\<share>\not displayed for security purposes". Access is denied.
I have verified with out network administrators that the service account has full control permissions to the destination.
Thanks,
Greg
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8