I’ve been using SQLBackupAndFTP successfully for months to create a daily backup of a single database on a shared web host.
In the last few weeks, my daily job is failing, with the message:
VIEW SERVER STATE permission was denied on object 'server', database 'master'.
The user does not have permission to perform this action.
My webhost swears up and down that they have never given this permission to users on a shared web host and that they haven’t changed anything on their end.
I’m currently on version of 12.7.35 of SQLBackupAndFTP. Did the standard behavior of a SQLServer backup job change recently to use this permission?
The issue is caused by missing permissions. Please grant the user VIEW SERVER STATE (or higher). Without these rights, the backup cannot run successfully.
This requirement may appear after the update because the scripting logic was revised.