SQLBackupAndFTP The server principal NT AUTHORITY\SYSTEM is not able to access the database xxxx
Windows server 2012中使用SQLBackupAndFTP备份数据库时遇到一个错误:
ERROR: The server principal "NT AUTHORITY\SYSTEM" is not able to access the database "xxxx" under the current security context. BACKUP DATABASE is terminating abnormally.
解决这个错误的方法:
在SQLBackupAndFTP工具里面选择“Advanced backup schedule”按钮,在“Advanced Backup Schedule” 窗口设置执行Schedule Job的用户,如下截图所示,你可以设置你的域账号(sysadmin角色)做为执行Schedule Job的用户或者其他具有权限的账号。
官方资料介绍请参考Hot to around: The server principal “NT AUTHORITY\SYSTEM” is not able to access the database “database-name” under the current security context
Open the scheduled job with SQLBackupAndFTP software and click on “Advanced backup schedule” button. At opened “Advanced Backup Schedule” window you can enter user name to execute the scheduled job in “Run scheduled job as” field or just click on “Set as Current User / Your personal account” to use your current windows account. Please remember to save the job to apply new schedule options. SQLBackupAndFTP will ask you to enter your password when you save the job.
参考资料:
http://sqlbackupandftp.com/blog/hot-around-server-principal-nt-authoritysystem/
总结
以上是生活随笔为你收集整理的SQLBackupAndFTP The server principal NT AUTHORITY\SYSTEM is not able to access the database xxxx的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: 深度解析mysql登录原理
- 下一篇: Spark SQL Catalyst源代