sql-server - TFS 2015-TF401002 : The SQL Server Database Engine failed to save the database backup to path

标签 sql-server tfs tfs-2015

尝试为 TFS 2015 创建计划备份时,我收到以下消息:“TF401002:SQL Server 数据库引擎无法将数据库备份保存到路径\{share}\d$\TFSBackups。请授予 SQL 服务帐户对该文件夹的读/写权限。”

我似乎找不到适合我的解决方案。 “TFSBackups”文件夹以对 NETWORK SERVICE 和 MSSQLSERVER 的完全权限共享。

我还没有做什么?

最佳答案

Panagiotis Kanavos 的评论放在答案中。

The error message is crystal clear and has nothing to do with TFS. That account doesn't have permission to write to that folder.

The path is NOT a path to a valid share, it uses the administrative endpoint d$ to directly access a physical drive. Only administrators are allowed to use administrative endpoints.

Just share TFSBackups, set the proper permissions and use the share's path, eg \\MyStorageMachine\TFSBackups

关于sql-server - TFS 2015-TF401002 : The SQL Server Database Engine failed to save the database backup to path,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41846807/

相关文章:

tfs - 在 TFS 2015 中从另一个构建(条件)触发构建

sql-server - SQL Server - 具有多个字段的 IN 子句

java - SQL Server SET XACT_ABORT ON 和 JAVA

sql - 高效地遍历每一行?

.net - TFS 映射与颠覆

c# - 跨构建服务器和开发人员机器为 Stylecop 和 Fxcop 共享相同的规则

email - TFS服务器2015 : Email alerts not working

sql - 分配具有不同记录的变量

tfs - 在 TeamCity 中处理 TFS 分支

tfsbuild - 构建定义为空