Avamar Exchange 資料庫還原失敗,並顯示「術語『Set-Mailboxdatabase』無法識別為 cmdlet 的名稱」

Summary: 知識庫 (KB),提供解決由於許可權不足而導致的 Exchange 資料庫還原失敗的步驟。

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」服務已設定為使用本機系統帳戶執行。此帳戶沒有足夠的權限執行 PowerShell 命令。

重新安裝或升級 Avamar 附掛程式時可能會發生這種情況,因為這是預設的本機系統帳戶。

Resolution

開啟 services.msc 主控台,並重新設定 avagent 和 GLR 服務,以使用具有必要權限 的「avamarbackupuser」 和類似帳戶執行。

在大部分環境中,您可以使用 Avamar Exchange 備份使用者組態工具自動建立具有所需權限的帳戶,並設定 Avamar 服務。

它也可以手動創建。請依照 DELL Avamar for Exchange 指南「使用 Avamar Exchange 備份使用者組態工具建立與設定帳戶」一節中的步驟操作。

Affected Products

Avamar, Avamar Plug-in for Exchange VSS
Article 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.