Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Restore deleted Exchange mailboxes

2025-01-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Background

By default, after the mailbox is deleted, Exchange retains the mailbox for 14 days before it is completely deleted from the database. There are two ways to delete a user's mailbox:

1) the mailbox is disabled and AD users do not delete it, which is also called "soft deletion".

2) deletion of mailbox and deletion of AD users.

The recovery methods for the above two situations are as follows

Operation recovery soft delete mailbox

Cdn.nlark.com/yuque/0/2019/png/201983/1570532507848-b745c906-4fad-4c8c-835a-f17146eb30c9.png ">

Follow the wizard to connect to a mailbox that has been disabled.

Restore deleted mailboxes

In this case, it cannot be operated through the GUI management interface and can only be done under Exchange management shell.

1) since AD users are also deleted, it is recommended that you first recreate the corresponding AD users, such as creating a user restoreuser. Then create a mailbox aliased as restoreuser on exchange

2) get the mailbox guid of the deleted user and the database where the mailbox is deleted, which is needed in the next recovery command.

$dbs = Get-MailboxDatabase

$dbs | foreach {Get-MailboxStatistics-Database $_ .DistinguishedName} | where {$_ .DisconnectReason-eq "Disabled"} | Format-Table DisplayName,MailboxGuid,Database,DisconnectDate

3) run the recover mailbox command

New-MailboxRestoreRequest-SourceStoreMailbox mailboxguid-SourceDatabase sourceDB-TargetMailbox restoreuser-AllowLegacyDNMismatch

4) check the recovery progress through the command

Get-MailboxRestoreRequest | Get-MailboxRestoreRequestStatistics

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report