Avamar Exchange 数据库还原失败,并显示“术语'Set-Mailboxdatabase'未被识别为 cmdlet 的名称”
Summary: 提供解决由于权限不足而导致的 Exchange 数据库还原失败的步骤的知识库 (KB)。
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
Exchange 数据库还原可能会失败,并显示类似于以下内容的错误:
2021-03-26 10:52:00 avexvss Error <0000>: The term 'Set-Mailboxdatabase' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
2021-03-26 10:52:00 avexvss Error <0000>: at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
at ps_calls.invoke_command(Pipeline pipeline, Command ps_command)
at ps_calls.set_mdb_allow_file_restore(String msg_parms)
2021-03-26 10:52:00 avexvss Error <13225>: Unable to continue with restore -- code 0x80004005: Unspecified error.
2021-03-26 10:52:00 avexvss Error <13226>: Possible RDB/RSG creation latency issue.
2021-03-26 10:52:00 avexvss Info <8394>: Deleting temporary stored metadata files...
2021-03-26 10:52:00 avexvss Warning <13028>: File C:\Program Files\avs\var\avexvss_restore\{76fe1ac4-15f7-4bcd-987e-8e1acb462fb7}0.xml cannot be removed. Error code 2
2021-03-26 10:52:00 avexvss Warning <13028>: File C:\Program Files\avs\var\avexvss_restore\{76fe1ac4-15f7-4bcd-987e-8e1acb462fb7}0.xml cannot be removed. Error code 2
2021-03-26 10:52:00 avexvss Error <12995>: Restore failed -- code 0x80004005: Unspecified error.
Cause
“Backup Agent”和“DELL Avamar for Exchange GLR”服务配置为使用本地 SYSTEM 帐户运行。此帐户没有足够的权限来运行 PowerShell 命令。
重新安装或升级 Avamar 插件程序时可能会发生这种情况,因为它默认为本地 SYSTEM 帐户。
Resolution
打开 services.msc 控制台并重新配置 avagent 和 GLR 服务,以使用 “avamarbackupuser” 和具有所需权限的类似帐户运行。
在大多数环境中,您可以使用 Avamar Exchange 备份用户配置工具自动创建具有所需权限的帐户并配置 Avamar 服务。
也可以手动创建。按照 DELL Avamar for Exchange 指南的“使用 Avamar Exchange 备份用户配置工具创建和配置帐户”部分中的步骤进行作。
Affected Products
Avamar, Avamar Plug-in for Exchange VSSArticle Properties
Article Number: 000184660
Article Type: Solution
Last Modified: 27 Oct 2025
Version: 2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.