Backup Exec Exchange backups hanging

Backups hanging and never completing at random place during Exchange backups, despite having been working for a long period previously.

On the Exchange server, add the following registry entry…

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameter
Key: IRPStackSize (case sensitive).
Value: 30 (Hex)

Source: e00084f8 – The network connection to the Backup Exec Remote Agent has been lost – Check for network errors – refer to link V-79-57344-34040 (veritas.com)

Move Exchange Mailboxes

Lots of reasons for moving, often because you want to delete one of the mailbox databases.

User Mailboxes

new-moverequest "joe bloggs" -TargetDatabase "Mailbox Database"
Get-MoveRequest | Get-MoveRequestStatistics

Arbitration Mailboxes

Get-Mailbox -Arbitration | New-MoveRequest -TargetDatabase "Mailbox Database"
Get-MoveRequest | Get-MoveRequestStatistics

Remove the completed Move Requests

Get-MoveRequest -MoveStatus Completed | Remove-MoveRequest

or if you have lots to do

Get-MoveRequest -MoveStatus Completed | Remove-MoveRequest -Confirm:$false

 

Additional Moves

You may also have to:

Get-Mailbox –RecipientTypeDetails DiscoveryMailbox | Format-Table Name

Get-Mailbox -RecipientTypeDetails DiscoveryMailbox | New-MoveRequest -TargetDatabase @Mailbox Database"

Get-MoveRequest | Get-MoveRequestStatistics

Get-MoveRequest -MoveStatus Completed | Remove-MoveRequest

To get a list of all Audit mailboxes in this database, run the command

Get-Mailbox -Database <Database ID> -AuditLog

To disable a Audit mailbox so that you can delete the mailbox database, run the command

Get-Mailbox -Database "Mailbox Database 2138967441"  -Auditlog | Disable-Mailbox

 

 

Once all moved, old DB can be removed. If you have created a new mailbox database, you will need to add new AV exclusions asper MS’s recommendations.