Comments
3 comments
-
Change the service startup account for the SQL Backup Agent service. By default, it uses the LocalSystem account.
The SQL Backup Agent service will log on to SQL Server using the credentials of the specified service startup user (Windows authentication). If you need the Agent to log on using SQL Authentication, do the following:
- register the sqbsetlogin extended stored proceduresp_addextendedproc sqbsetlogin, 'xp_sqlbackup.dll'
- call sqbsetlogin, passing in a user name and password
sqbsetlogin 'sa', '<password>'
- remove sqbsetloginsp_dropextendedproc sqbsetlogin
If you want to revert to Windows authentication, call sqbsetlogin with blank values i.e.sqbsetlogin '', ''
-
Msg 0, Level 11, State 0, Line 0
A severe error occurred on the current command. The results, if any, should be discarded.
I tried
EXEC sqbsetlogin '',''
and
sqbsetlogin '',''
I got the error both times. Any ideas? -
I think there was a bug where the status was reported wrongly (failure), but the change in settings were actually made. You can try running a small backup and trace via Profiler, to see the login used by SQL Backup.
Add comment
Please sign in to leave a comment.
Thanks,
Scott