Solved

Restore Mailbox on Exchange 2010 SP1

Posted on 2011-02-24
3
2,363 Views
Last Modified: 2012-05-11
Hi,
I have Exchange 2010 SP1 on Windows 2008 R2 Ent. Server.
i have two Mailbox DataBases and two Mailbox Archive DataBases.
some of useres we diable an online archiving for them , then when we enabling it again we found that an emply new online archive folder, while the old online archive data for them already existing on Archiving Mailbox DataBase.

we try to use "New-MailboxRestoreRequest" cmdlet as following:

New-MailboxRestoreRequest -SourceDatabase "Archiving Database 1" -SourceStoreMailbox "Online Ar
chive - Mostafa Naghy" -TargetMailbox MTest.User@mydomain.com -AllowLegacyDNMismatch

but the result is the following error:

Mailbox "Online Archive - Mostafa Naghy" isn't unique on database "Archiving Database 1".
    + CategoryInfo          : NotSpecified: (0:Int32) [New-MailboxRestoreRequest], ManagementObjectAmbiguousException
    + FullyQualifiedErrorId : B24C21A,Microsoft.Exchange.Management.RecipientTasks.NewMailboxRestoreRequest

we run the following cmdlet         Get-MailboxStatistics -Database "Archiving Database 1"

the result is :

DisplayName               ItemCount    StorageLimitStatus
-----------               ---------    ------------------
Online Archive - Mosta... 13560                NoChecking
Online Archive - Mosta... 0                    BelowLimit
Online Archive - Ahmed... 77                   BelowLimit
Online Archive - Ahmed... 0                    BelowLimit

as above there are two online archiving for each mailbox.

Please anyone help me to remove the mailboxes with [ItemCount=0] and make the online archive mailboxes unique on database to complete the "New-MailboxRestoreRequest" cmdlet?

Thanks.
0
Comment
Question by:mtarabay
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
hasan1st earned 500 total points
ID: 34968852
Use the commandlet as follow
Get-MailboxStatistics -Database "Archiving Database 1" | list displayname,identity

If both mailboxes have the same exact name, then use the id instead in the "New-MailboxRestoreRequest", otherwise use the full unique name.
0
 
LVL 3

Expert Comment

by:hasan1st
ID: 34968869
Use MailboxGUID instead of Identity, they should be the same though.
0
 

Author Comment

by:mtarabay
ID: 34969317
Thanks it is working properly.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now