Avamar:Exchange 代理備份失敗,並顯示「get-mailboxdatabase」未識別為 cmdlet 的名稱」
Summary: Exchange 代理備份失敗,並顯示「術語『get-mailboxdatabase』未辨識為 cmdlet 的名稱」
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 DAG 備份失敗,並出現下列錯誤:
2019-07-16 11:43:32 avexvss Error <0000>: The term 'get-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. 2019-07-16 11:43:32 avexvss Error <0000>: at System.Management.Automation.CommandDiscovery.LookupCommandInfo(String commandName, CommandTypes commandTypes, SearchResolutionOptions searchResolutionOptions, CommandOrigin commandOrigin, ExecutionContext context) at System.Management.Automation.CommandDiscovery.LookupCommandProcessor(String commandName, CommandOrigin commandOrigin, Nullable`1 useLocalScope) at System.Management.Automation.Runspaces.Command.CreateCommandProcessor(ExecutionContext executionContext, CommandFactory commandFactory, Boolean addToHistory, CommandOrigin origin) at System.Management.Automation.Runspaces.LocalPipeline.CreatePipelineProcessor() at System.Management.Automation.Runspaces.LocalPipeline.InvokeHelper() at System.Management.Automation.Runspaces.LocalPipeline... 2019-07-16 11:43:32 avexvss Error <16954>: Unable to initialize Powershell interface process -- cannot continue. 2019-07-16 11:43:32 avexvss Error <13072>: Unhandled Exception in avexvss.
Cause
Avagent (備份代理程式) 服務仍設定為本機 SYSTEM 帳戶,該帳戶沒有必要權限來執行 Exchange PowerShell 命令。
所有 Exchange 卷影複製服務 (VSS) 外掛程式安裝都需要
Avamarbackupuser 或用於 Exchange 備份和還原目的的類似特權帳戶。Resolution
在所有 Exchange DAG 節點上設定備份代理程式服務
這
某些包含父域和子域的AD環境可能還需要AD組組織管理。
啟動 Avamar Exchange 備份使用者組態工具,以設定
Avamarbackupuser 或類似的特權帳戶。
這
Avamarbackupuser 帳戶需要以下許可權和安全組(自 Exchange 2010、2013 和 2016 - Avamar 7.1 SP1 或更高版本起):
- Avamar 角色
- Exchange 受信任子系統
- 網域使用者
- Exchange 伺服器
某些包含父域和子域的AD環境可能還需要AD組組織管理。
啟動 Avamar Exchange 備份使用者組態工具,以設定
Avamarbackupuser 在附掛程式安裝後建立帳戶,或依照 Avamar Exchange VSS 使用者指南文件的安裝部分所述手動建立帳戶。Additional Information
注意:使用備份使用者組態工具建立和隨需分配 AD 角色群組 Avamar 角色
Avamarbackupuser 帳戶。也可以在 Exchange 命令行管理程式中使用以下語法手動建立它:
New-RoleGroup -Name "Avamar Roles" -Roles 'Database Copies', 'Databases', 'Mail Recipient Creation', 'Mail Recipients', 'View-Only Configuration', 'View-Only Recipients', 'Disaster Recovery'
Affected Products
AvamarProducts
Avamar, Avamar Plug-in for Hyper-V VSS, PowerProtect DP4400Article Properties
Article Number: 000048868
Article Type: Solution
Last Modified: 14 May 2025
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.