在 debian 10 服务器上将 team foundation 服务器的备份配置为 samba 共享路径时出错
Error configuring backup of team foundation server to samba shared path on debian 10 server
我在 debian 10 中配置了一个 samba 4(没有加入域),我的 smb.conf 配置文件:
[global]
bind interfaces only = yes
interfaces = 10.0.2.0/24
workgroup = SAMBA
idmap config * : backend = tdb
cups options = raw
encrypt passwords = yes
logging = file
smb encrypt = required
keep alive = 50
log file = /root/samba/%m.log
max log size = 100000
security = user
map to guest = Bad User
[server]
path = /server
writeable = yes
read only = no
browsable = yes
directory mask = 0770
create mask = 0770
valid users = juan
在 tfs (windows server 2012) 中,我使用建议的路径配置备份,直到出现以下错误:
error:TF401002: The SQL Server Database Engine was unable to save the database backup in path \ .... Give the SQL service account read and write access to that folder
我去数据库服务器没有权限访问的账户如下:
NT Service\SQLAgent$SQLTEAM2013
像以前一样为该帐户授予 samba 共享文件夹的权限????
error:TF401002: The SQL Server Database Engine was unable to save the database backup in path \ .... Give the SQL service account read and write access to that folder
似乎sql 帐户没有足够的权限。
据我所知,NT Service\SQLAgent$xxx
帐户是 virtual account。此帐户的用户权限较低。
一般情况下,此账号没有共享路径文件夹的读写权限
您可以尝试授权该账号,看能否解决问题。
此外,您还需要确保目标路径有效。例如:\TFS2018\backup
.
可能会有帮助。
希望对您有所帮助。
我在 debian 10 中配置了一个 samba 4(没有加入域),我的 smb.conf 配置文件:
[global]
bind interfaces only = yes
interfaces = 10.0.2.0/24
workgroup = SAMBA
idmap config * : backend = tdb
cups options = raw
encrypt passwords = yes
logging = file
smb encrypt = required
keep alive = 50
log file = /root/samba/%m.log
max log size = 100000
security = user
map to guest = Bad User
[server]
path = /server
writeable = yes
read only = no
browsable = yes
directory mask = 0770
create mask = 0770
valid users = juan
在 tfs (windows server 2012) 中,我使用建议的路径配置备份,直到出现以下错误:
error:TF401002: The SQL Server Database Engine was unable to save the database backup in path \ .... Give the SQL service account read and write access to that folder
我去数据库服务器没有权限访问的账户如下:
NT Service\SQLAgent$SQLTEAM2013
像以前一样为该帐户授予 samba 共享文件夹的权限????
error:TF401002: The SQL Server Database Engine was unable to save the database backup in path \ .... Give the SQL service account read and write access to that folder
似乎sql 帐户没有足够的权限。
据我所知,NT Service\SQLAgent$xxx
帐户是 virtual account。此帐户的用户权限较低。
一般情况下,此账号没有共享路径文件夹的读写权限
您可以尝试授权该账号,看能否解决问题。
此外,您还需要确保目标路径有效。例如:\TFS2018\backup
.
希望对您有所帮助。