你的位置:首页 > 数据库

[数据库]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的用户或者其他具有权限。

clipboard

官方资料介绍请参考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/