Avamar:SQL 备份失败并显示“Login failed for user”(用户登录失败)
Summary: 具有多个 SQL Server 身份验证实例时,SQL 备份失败,并显示“用户登录失败”消息。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
Avamar SQL 备份可能会失败,并显示类似于以下内容的错误:
avsql Error <40258>: sqlconnectimpl_smo::connect Microsoft.SqlServer.Management.Common.ConnectionFailureException: Failed to connect to server DELLSVR\SQLINSTANCE. ---> System.Data.SqlClient.SqlException: Login failed for user 'backupuser'.Cause
指定用于 SQL 备份的数据集使用的是 SQL Server 身份验证,而不是 Windows 身份验证。
客户端上有多个 SQL 实例。一个或多个 SQL 实例可能未向 SQL Server 登录帐户授予安全访问权限。
Resolution
解决问题的解决方法:
- 将 SQL Server 登录账号添加到 SQL Server Management Studio (SSMS) 中的实例,并为其授予 sysadmin 角色。
- 编辑数据集并排除不允许 SQL Server 登录帐户访问的 SQL 实例。
- 确认未在 SSMS 中禁用 SQL 登录帐户。
- 重置 SQL 登录帐户的密码(如果已过期)。
- 确保 SQL 登录帐户有权访问数据库。
Affected Products
AvamarProducts
AvamarArticle Properties
Article Number: 000034616
Article Type: Solution
Last Modified: 28 Nov 2025
Version: 6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.