Solved

Restore Mailbox on Exchange 2010 SP1

Posted on 2011-02-24
3
2,398 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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.
Read this checklist to learn more about the 15 things you should never include in an email signature.
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

821 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