Obnovení databáze Avamar Exchange selhává s chybou "Termín Set-Mailboxdatabase není rozpoznán jako název rutiny"

Summary: Znalostní báze (KB), která poskytuje postup řešení selhání obnovení databáze Exchange kvůli nedostatečným oprávněním.

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

Obnovení databáze Exchange může selhat s chybami podobnými těmto:
 

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

Služby Backup Agent a DELL Avamar for Exchange GLR jsou nakonfigurovány tak, aby běžely s místními účty SYSTEM. Tento účet nemá dostatečná oprávnění ke spouštění příkazů PowerShellu.

K tomu může dojít při přeinstalaci nebo upgradu doplňků Avamar, protože výchozí nastavení je místní účet SYSTEM.

Resolution

Otevřete konzoli services.msc a znovu nakonfigurujte služby avagent a GLR tak, aby běžely s účtem "avamarbackupuser" a podobným účtem s požadovanými oprávněními.

Ve většině prostředí můžete k automatickému vytvoření účtu s požadovanými oprávněními a konfiguraci služeb Avamar použít nástroj Avamar Exchange Backup User Configuration Tool.

Lze jej také vytvořit ručně. Postupujte podle kroků v části "Vytvoření a konfigurace účtu pomocí nástroje Avamar Exchange Backup User Configuration Tool" v příručce k softwaru DELL Avamar for 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.