Restore-Mailbox Exchange 2010, restore Item based on subject or content Keywords
For I while I'm looking for command Restore-Mailbox : http://technet.microsoft.com/en-us/library/bb125218.aspx There are examples how can you restore item for mailbox from RSD to production mailbox with SubjectKeywords and ContentKeywords. But I can not make it work in my production environment. Has anyone had success with following sample command : Restore-Mailbox -Identity Scott -RecoveryDatabase MyRecoveryDatabase -SubjectKeywords "Meeting" -ContentKeywords "business" -IncludeFolders \Inbox,\Calendar Because it does not restore anything, or I`m I doing something wrong. Ok I replace identity. Folowing does not work : Restore-Mailbox -Identity "User Q" -RecoveryDatabase RDB1 -RecoveryMailbox " Uuser Q " -TargetFolder RestorFolder1 -SubjectKeywords "sex" Restore-Mailbox -Identity " User Q " -RecoveryDatabase RDB1 -RecoveryMailbox " User Q " -TargetFolder RestorFolder1 –ContentKeywords "sex" Restore-Mailbox -Identity " User Q " -RecoveryDatabase RDB1 -RecoveryMailbox " User Q " -TargetFolder RestorFolder1 -AllContentKeywords sex -AllowDuplicates
June 28th, 2011 5:44am

HI, the recovery database does not accept all atributed. i believe it should work if you use display name of the user. it is also possible it may not have the content you are looking for ? Dhruv
Free Windows Admin Tool Kit Click here and download it now
June 28th, 2011 5:51am

? I have mailbox, that i have backup with DPM, and then restore database to RDB. Now i have created new mailbox on production DB, and i would like to restore items, as TechNet link it say it is possible. How can i explain customer, that that is only for confusing him. And item subject are there….. SO it should work, but it does not. If I use New-MailboxExportRequest, I get all items in PST.
June 28th, 2011 7:12am

Hi, Can you restore mailbox with Restore-Mailbox -Identity "User Q" -RecoveryDatabase RDB1 -RecoveryMailbox " Uuser Q " -TargetFolder RestorFolder1 If not, then what the output it will show. Please try to post here. Also please use get-mailboxstatistics –database RDB1 to check the mailbox displayname. Regards, Xiu Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
June 29th, 2011 3:30am

It works for :Restore-Mailbox -Identity "User Q" -RecoveryDatabase RestorDB1 -RecoveryMailbox "Uuser Q" -TargetFolder restorFolder1 -startDate 05/01/2011 -EndDate 05/10/2011 But i use New-MailboxRestoreRequest, for mailbox restor and it works.
June 29th, 2011 3:34am

I can confirm, that command (Restore-Mailbox -Identity "User Q" -RecoveryDatabase RDB1 -RecoveryMailbox " Uuser Q " -TargetFolder RestorFolder1) does restor to mailbox User Q. But it will not restore anything, only empty folders : Restore-Mailbox -Identity "User Q" -RecoveryDatabase RDB1 -RecoveryMailbox "User Q" -TargetFolder RestorFolder3 -SubjectKeywords "Start all star" Restore-Mailbox -Identity "User Q" -RecoveryDatabase RDB1 -RecoveryMailbox "User Q" -TargetFolder RestorFolder2 -SubjectKeywords "smoke losos" Restore-Mailbox -Identity "User Q" -RecoveryDatabase RDB1 -RecoveryMailbox "User Q" -TargetFolder RestorFolder3 -SenderKeywords "smoke losos" Restore-Mailbox -Identity "User Q" -RecoveryDatabase RDB1 -RecoveryMailbox "User Q" -TargetFolder RestorFolder3 -SubjectKeywords "smoke losos" Restore-Mailbox -Identity "User Q" -RecoveryDatabase RDB1 -RecoveryMailbox "User Q" -TargetFolder RestorFolder2 -SubjectKeywords "Start all star" Restore-Mailbox -Identity "User Q" -RecoveryDatabase RDB1 -RecoveryMailbox "User Q" -TargetFolder RestorFolder3 -SenderKeywords "Start all star" Restore-Mailbox -Identity "User Q" -RecoveryDatabase RDB1 -RecoveryMailbox "User Q" -TargetFolder RestorFolder3 -SubjectKeywords "Start all star"
Free Windows Admin Tool Kit Click here and download it now
June 29th, 2011 10:20am

Hi, Please verify the following information again. 1. The database and log files containing the recovered data must be restored or copied into the RDB folder structure that was created when the RDB was created. 2. The database must be in a clean shutdown state. Because an RDB is an alternate restore location for all databases, all restored databases will be in a dirty shutdown state. You can use Eseutil /R to put the database in a clean shutdown state. XiuPlease remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
June 29th, 2011 10:59pm

I know that you are eager to help but: 1. RDB is Fine ! 2. Data is there ! 3. I can do time range restore with Command Restore-Mailbox, But I do not wont to! 4. I can use New-MailboxExportRequest, with any combination of filter and i can get all requested or filtered data in PST. So data and filters fork for that command ! But there is NO WAY to restore data to user mailbox with command Restore-Mailbox, using any type of filter, except time! So I'm putting up a simple challenge : is TechNet Article : http://technet.microsoft.com/en-us/library/bb125218.aspx correct or it is missing fine print. Because filers Subject Keywords, SenderKeywords, AllContentKeywords, ContentKeywords do not work. All items in original mailbox are deleted with command Shift+del and i even run command :Search-Mailbox –id "USer" -SearchDumpsterOnly –DeleteContent on original mailbox. Mailbox was backup before I use any type of delete command. I try to use parameter –AllowDuplicates with no switch. So there is something basic that I'm missing, or command Restore-Mailbox does not work. I look articles on the web, and all stops when they should use command with filter, they all say it works perfectly, but I cannot make it work. Ps : Data was restored to RDB with SC DPM 2010. For exchange it missing a lot of function, that my 8 year old backup software could do automaticaly
Free Windows Admin Tool Kit Click here and download it now
June 30th, 2011 3:18am

Hi, I have tried to setup a test lab and found the same issue as yours. So I will try to esclate the issue and keep update here. Thanks. XiuPlease remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
June 30th, 2011 10:46pm

Hi MaliStane, We have tried to run the following command in our labs here Restore-Mailbox -Identity User1 -RecoveryDatabase RDB1 -SubjectKeywords "Meeting" -ContentKeywords "business" -IncludeFolders \Inbox,\Calendar and this works fine. We were able to restore the items based on the keywords. Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Surika Microsoft Online Community Support
Free Windows Admin Tool Kit Click here and download it now
July 7th, 2011 5:35am

do you see items, and not just empty folders ?
July 7th, 2011 9:50am

Maybe a little off the topic, my experience with DPM 2010 for Exchange 2010 restore is pretty much the same. Been using another backup software for ages, and was expecting something better from DPM, disappointed, it sucks... i dont mind PowerShell, and like to scripting. But all these hassles to define filters and play with RDBs just to restore a few messages really should be a part of GUI in DPM in my opinion, it will make life a lot easier for us.
Free Windows Admin Tool Kit Click here and download it now
July 7th, 2011 7:08pm

Yes, after deleting the items I see that they appear back when the command is exectuedPlease remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Surika Microsoft Online Community Support
July 7th, 2011 10:59pm

And Report confirms it, or just say successful? And you go through RDB, not from active database, where you delete item ? And did you have single item recovery enabled or not?
Free Windows Admin Tool Kit Click here and download it now
July 8th, 2011 1:54am

The database has been restored to the RDB and the command is exectued against the RDB. The mailbox did not have Single Item Recovery enabled. The item was recovered from the restored database.Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Surika Microsoft Online Community Support
July 8th, 2011 7:51am

SURIKA RK – MSFT , now please post a log of your successful run of posted command : ? if you do not know where reportlog reside : C:\Program Files\Microsoft\Exchange Server\V14\Logging\MigrationLogs\restore-mailbox********.xml Restore-Mailbox -Identity User1 -RecoveryDatabase RDB1 -SubjectKeywords "Meeting" -ContentKeywords "business" -IncludeFolders \Inbox,\Calendar I have posited my log, while running your command. I can assure you, that if i use new-mailboxrestore request, with filters I get requested data. Restore-Mailbox -Identity TestUser1 -RecoveryDatabase RDB1 -SubjectKeywords "Earthquake" -ContentKeywords "Airports" -IncludeFolders \Inbox,\Calendar Mail that i`m searching : Subject : Earthquake off Japan triggers tsunami alert Body : Airports in the area are reported to be functioning normally. Japan is one of the world's most seismically active countries. Dozens of strong aftershocks have been felt since the disaster in March. LOG Start <?xml version="1.0" ?> - <restore-Mailbox> - <TaskHeader> <RunningAs>NT AUTHORITY\SYSTEM</RunningAs> <Name>restore-Mailbox</Name> <Type>Restore</Type> <MaxBadItems>0</MaxBadItems> <Version>14.1.218.15</Version> <StartTime>07/11/2011 07:20:32</StartTime> <Options Identity="TestUSer1" RecoveryDatabase="RDB1" GlobalCatalog="01SI012DC06" MaxThreads="4" BadItemLimit="0" AllowDuplicates="False" ValidateOnly="False" IncludeFolders="\Inbox, \Calendar" ExcludeFolders="" StartDate="01/01/0001 00:00:00" EndDate="12/31/9999 23:59:59" SubjectKeywords="Earthquake" ContentKeywords="Airports" AllContentKeywords="" AttachmentFilenames="" SenderKeywords="" RecipientKeywords="" Locale="" /> </TaskHeader> - <TaskDetails> - <Item MailboxName="Test User1"> - <Source> <RecoveryMailboxDisplayName>Test User1</RecoveryMailboxDisplayName> <RecoveryMailboxLegacyExchangeDN>/O=HOST1/OU=EXCHANGE ADMINISTRATIVE GROUP (FYDIBOHF23SPDLT)/CN=RECIPIENTS/CN=Test User1</RecoveryMailboxLegacyExchangeDN> <RecoveryMailboxGUID>0a7914fb-c9f1-483e-8c2c-487ccda5194a</RecoveryMailboxGUID> <RecoveryDatabaseGuid>8e83e863-1508-41bd-b734-4c04c2c34bf8</RecoveryDatabaseGuid> </Source> - <Target> <Identity>HOST1LOC.US/Uporabniki/Test User1</Identity> <DistinguishName>CN=Test User1,OU=TestGroup,DC=HOST1,DC=US</DistinguishName> <DisplayName>Test User1</DisplayName> <Alias>TestUSer1</Alias> <LegacyExchangeDN>/o=HOST1/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=Test User1</LegacyExchangeDN> <PrimarySmtpAddress>TestUSer1@HOST1.US</PrimarySmtpAddress> <TargetServer>01SI012MBX04.HOST1.US</TargetServer> <TargetDatabase>Mailbox Database TESTGroup 1</TargetDatabase> <IsResourceMailbox>False</IsResourceMailbox> <TargetGlobalCatalog>01SI012DC06</TargetGlobalCatalog> </Target> <MailboxSize>99.18 KB (101,564 bytes)</MailboxSize> <Duration>00:00:00</Duration> <Result IsWarning="False" ErrorCode="0">This mailbox in the recovery database has been restored to the target user mailbox.</Result> </Item> </TaskDetails> - <TaskFooter> <EndTime>07/11/2011 07:20:38</EndTime> <TotalSize>99.18 KB (101,564 bytes)</TotalSize> <StandardMessagesDeleted>0</StandardMessagesDeleted> <AssociatedMessagesDeleted>0</AssociatedMessagesDeleted> <DumpsterMessagesDeleted>0</DumpsterMessagesDeleted> <Result ErrorCount="0" CompletedCount="1" WarningCount="0" /> </TaskFooter> </restore-Mailbox> LOg End :
Free Windows Admin Tool Kit Click here and download it now
July 11th, 2011 1:42am

For overkill i run following two command, it should return something ? Restore-Mailbox -Identity TestUser1 -RecoveryDatabase RDB1 -AllContentKeywords "a" -IncludeFolders \Inbox -AllowDuplicates Restore-Mailbox -Identity TestUser1 -RecoveryDatabase RDB1 -ContentKeywords "a" -IncludeFolders \Inbox -AllowDuplicates Restore-Mailbox -Identity TestUser1 -RecoveryDatabase RDB1 -ContentKeywords "*a*" -IncludeFolders \Inbox -AllowDuplicates Maybe with switch AllContentKeywords , I should run logical operation, well it nothing written about it, so I run both commands, just to be on safe side I can post a report log if it is requred ?
July 11th, 2011 2:06am

Hi MaliStane, Can you please run the commands with allow duplicates and without the allow duplicates with verbose mode and paste the results here. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Surika Microsoft Online Community Support
Free Windows Admin Tool Kit Click here and download it now
July 13th, 2011 4:26am

Command that works : Restore-Mailbox -Identity "TestUser1" -RecoveryDatabase RDB1 -StartDate 07/09/2011 -EndDate 07/09/2011 -Verbose -Debug [PS] C:\Windows\system32>Restore-Mailbox -Identity "TestUser1" -RecoveryDatabase RDB1 -StartDate 07/09/2011 -EndDa te 07/09/2011 -Verbose -Debug VERBOSE: [12:41:33.944 GMT] Restore-Mailbox : Active Directory session settings for 'Restore-Mailbox' are: View Entire Forest: 'False', Default Scope: 'HOST1LOC.US', Configuration Domain Controller: '01SI012DC06.HOST1LOC.US', Preferred Global Catalog: '01SI012DC06.HOST1LOC.US', Preferred Domain Controllers: '{ 01SI012DC06.HOST1LOC.US }' VERBOSE: [12:41:33.944 GMT] Restore-Mailbox : Runspace context: Executing user: HOST1LOC.US/Users/EXCHAdm1, Executing user organization: , Current organization: , RBAC-enabled: Enabled. VERBOSE: [12:41:33.944 GMT] Restore-Mailbox : Beginning processing & VERBOSE: [12:41:33.944 GMT] Restore-Mailbox : Instantiating handler with index 0 for cmdlet extension agent "Admin Audit Log Agent". VERBOSE: [12:41:34.101 GMT] Restore-Mailbox : Searching objects "RDB1" of type "MailboxDatabase" under the root "$null". VERBOSE: [12:41:34.116 GMT] Restore-Mailbox : Previous operation run on domain controller '01SI012DC06.HOST1LOC.US'. VERBOSE: [12:41:34.148 GMT] Restore-Mailbox : Current ScopeSet is: { Recipient Read Scope: {{, }}, Recipient Write Scopes: {{, }}, Configuration Read Scope: {{, }}, Configuration Write Scope(s): {{, }, }, Exclusive Recipient Scope(s): {}, Exclusive Configuration Scope(s): {} } VERBOSE: [12:41:34.148 GMT] Restore-Mailbox : Searching objects "TestUser1" of type "ADUser" under the root "$null". VERBOSE: [12:41:34.163 GMT] Restore-Mailbox : Previous operation run on global catalog server '01SI012DC06.HOST1LOC.US'. VERBOSE: [12:41:34.163 GMT] Restore-Mailbox : Processing object "HOST1LOC.US/TestGroup/TestUser1". VERBOSE: [12:41:34.241 GMT] Restore-Mailbox : Searching objects "Mailbox Database 123456789" of type "MailboxDatabase" under the root "$null". VERBOSE: [12:41:34.241 GMT] Restore-Mailbox : Previous operation run on domain controller '01SI012DC06.HOST1LOC.US'. VERBOSE: [12:41:34.288 GMT] Restore-Mailbox : Searching objects "0a7914fb-c9f1-483e-8c2c-487ccda5194a" of type "MailboxStatistics" under the root "RDB1". VERBOSE: [12:41:34.288 GMT] Restore-Mailbox : Previous operation that ran on: '01SI012MBX04.HOST1LOC.US'. VERBOSE: [12:41:34.288 GMT] Restore-Mailbox : Admin Audit Log: Entered Handler:Validate. VERBOSE: [12:41:34.288 GMT] Restore-Mailbox : Admin Audit Log: Exited Handler:Validate. Confirm Are you sure you want to perform this action? Recovering mailbox content from mailbox 'TestUser1' in the recovery database 'RDB1' to the mailbox for 'TestUser1 (MName@HOST1.si)'. This operation may take a long time to complete. [Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is "Y"): a VERBOSE: [12:41:36.710 GMT] Restore-Mailbox : Resolved current organization: . VERBOSE: [12:41:36.726 GMT] Restore-Mailbox : Admin Audit Log: Entered Handler:OnComplete. VERBOSE: [12:41:36.757 GMT] Restore-Mailbox : Admin Audit Log: Exited Handler:OnComplete. VERBOSE: [12:41:36.757 GMT] Restore-Mailbox : Ending processing & VERBOSE: [12:41:36.757 GMT] Restore-Mailbox : [ManipulantName] The operation has started. VERBOSE: [12:41:36.757 GMT] Restore-Mailbox : [ManipulantName] Approving object. VERBOSE: [12:41:36.757 GMT] Restore-Mailbox : [ManipulantName] The operation has finished. VERBOSE: [12:41:36.757 GMT] Restore-Mailbox : [ManipulantName] The operation has started. VERBOSE: [12:41:36.757 GMT] Restore-Mailbox : [ManipulantName] Approving object. VERBOSE: [12:41:36.851 GMT] Restore-Mailbox : [ManipulantName] Opening source mailbox. VERBOSE: [12:41:36.851 GMT] Restore-Mailbox : [ManipulantName] Trying to open mailbox by GUID: szServerLegacyDN: /o=HOST1/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=01SI012MBX04 pguidMdb: {8E83E863-1508-41BD-B734-4C04C2C34BF8} pguidMailbox: {0A7914FB-C9F1-483E-8C2C-487CCDA5194A} szServer: 01SI012MBX04.HOST1LOC.US VERBOSE: [12:41:36.851 GMT] Restore-Mailbox : [ManipulantName] Open mailbox succeeded. VERBOSE: [12:41:36.851 GMT] Restore-Mailbox : [ManipulantName] Opening destination mailbox. VERBOSE: [12:41:36.867 GMT] Restore-Mailbox : [ManipulantName] Trying to open mailbox by GUID: szServerLegacyDN: /o=HOST1/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=01SI012MBX04 pguidMdb: {7B5054F3-6859-47E6-90BF-0248094E919D} pguidMailbox: {0A7914FB-C9F1-483E-8C2C-487CCDA5194A} szServer: 01SI012MBX04.HOST1LOC.US VERBOSE: [12:41:36.867 GMT] Restore-Mailbox : [ManipulantName] Open mailbox succeeded. VERBOSE: [12:41:36.867 GMT] Restore-Mailbox : [ManipulantName] Moving messages. VERBOSE: [12:41:36.867 GMT] Restore-Mailbox : [ManipulantName] Recovering messages. VERBOSE: [12:41:36.867 GMT] Restore-Mailbox : [ManipulantName] Merging messages. VERBOSE: [12:41:37.226 GMT] Restore-Mailbox : [ManipulantName] 0 items couldn't be moved to the target mailbox. VERBOSE: [12:41:37.226 GMT] Restore-Mailbox : [ManipulantName] Messages moved. Closing connections. VERBOSE: [12:41:37.429 GMT] Restore-Mailbox : [ManipulantName] The operation has finished. RunspaceId : 9fad652a-fbe0-4b5e-9677-59bd1ed73e47 Identity : HOST1LOC.US/TestGroup/TestUser1 DistinguishedName : CN=TestUser1,OU=TestGroup,DC=HOST1,DC=US DisplayName : TestUser1 Alias : ManipulantName LegacyExchangeDN : /o=HOST1/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=Manipulan t Name PrimarySmtpAddress : MName@HOST1.si SourceServer : 01SI012MBX04.HOST1LOC.US SourceDatabase : RDB1 SourceGlobalCatalog : 01SI012DC06 SourceDomainController : TargetGlobalCatalog : 01SI012DC06 TargetDomainController : TargetMailbox : HOST1LOC.US/TestGroup/TestUser1 TargetServer : 01SI012MBX04.HOST1LOC.US TargetDatabase : Mailbox Database 123456789 MailboxSize : 99.18 KB (101,564 bytes) IsResourceMailbox : False SIDUsedInMatch : SMTPProxies : SourceManager : SourceDirectReports : SourcePublicDelegates : SourcePublicDelegatesBL : SourceAltRecipient : SourceAltRecipientBL : SourceDeliverAndRedirect : MatchedTargetNTAccountDN : IsMatchedNTAccountMailboxEnabled : MatchedContactsDNList : TargetNTAccountDNToCreate : TargetManager : TargetDirectReports : TargetPublicDelegates : TargetPublicDelegatesBL : TargetAltRecipient : TargetAltRecipientBL : TargetDeliverAndRedirect : Options : Default SourceForestCredential : TargetForestCredential : TargetFolder : PSTFilePath : RecoveryMailboxGuid : 0a7914fb-c9f1-483e-8c2c-487ccda5194a RecoveryMailboxLegacyExchangeDN : /O=HOST1/OU=EXCHANGE ADMINISTRATIVE GROUP (FYDIBOHF23SPDLT)/CN=RECIPIENTS/Test User1 RecoveryMailboxDisplayName : TestUser1 RecoveryDatabaseGuid : 8e83e863-1508-41bd-b734-4c04c2c34bf8 StandardMessagesDeleted : 0 AssociatedMessagesDeleted : 0 DumpsterMessagesDeleted : 0 MoveType : Restore MoveStage : Completed StartTime : 13.7.2011 14:41:36 EndTime : 13.7.2011 14:41:37 StatusCode : 0 StatusMessage : This mailbox in the recovery database has been restored to the target user mailbox. ReportFile : C:\Program Files\Microsoft\Exchange Server\V14\Logging\MigrationLogs\restore-Mailbox 20110713-144134-1011295.xml ServerName : 01SI012MBX04.HOST1LOC.US # # # XML # <?xml version="1.0" ?> - <restore-Mailbox> - <TaskHeader> <RunningAs>NT AUTHORITY\SYSTEM</RunningAs> <Name>restore-Mailbox</Name> <Type>Restore</Type> <MaxBadItems>0</MaxBadItems> <Version>14.1.218.15</Version> <StartTime>07/13/2011 14:41:34</StartTime> <Options Identity="TestUser1" RecoveryDatabase="RDB1" GlobalCatalog="01SI012DC06" MaxThreads="4" BadItemLimit="0" AllowDuplicates="False" ValidateOnly="False" IncludeFolders="" ExcludeFolders="" StartDate="07/09/2011 00:00:00" EndDate="07/09/2011 23:59:59" SubjectKeywords="" ContentKeywords="" AllContentKeywords="" AttachmentFilenames="" SenderKeywords="" RecipientKeywords="" Locale="" /> </TaskHeader> - <TaskDetails> - <Item MailboxName="TestUser1"> - <Source> <RecoveryMailboxDisplayName>TestUser1</RecoveryMailboxDisplayName> <RecoveryMailboxLegacyExchangeDN>/O=HOST1/OU=EXCHANGE ADMINISTRATIVE GROUP (FYDIBOHF23SPDLT)/CN=RECIPIENTS/CN=TestUser1</RecoveryMailboxLegacyExchangeDN> <RecoveryMailboxGUID>0a7914fb-c9f1-483e-8c2c-487ccda5194a</RecoveryMailboxGUID> <RecoveryDatabaseGuid>8e83e863-1508-41bd-b734-4c04c2c34bf8</RecoveryDatabaseGuid> </Source> - <Target> <Identity>HOST1LOC.US/TestGroup/TestUser1</Identity> <DistinguishName>CN=TestUser1,OU=TestGroup,DC=HOST1,DC=US</DistinguishName> <DisplayName>TestUser1</DisplayName> <Alias>ManipulantName</Alias> <LegacyExchangeDN>/o=HOST1/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=TestUser1</LegacyExchangeDN> <PrimarySmtpAddress>MName@HOST1.si</PrimarySmtpAddress> <TargetServer>01SI012MBX04.HOST1LOC.US</TargetServer> <TargetDatabase>Mailbox Database 123456789</TargetDatabase> <IsResourceMailbox>False</IsResourceMailbox> <TargetGlobalCatalog>01SI012DC06</TargetGlobalCatalog> </Target> <MailboxSize>99.18 KB (101,564 bytes)</MailboxSize> <Duration>00:00:01</Duration> <Result IsWarning="False" ErrorCode="0">This mailbox in the recovery database has been restored to the target user mailbox.</Result> </Item> </TaskDetails> - <TaskFooter> <EndTime>07/13/2011 14:41:37</EndTime> <TotalSize>99.18 KB (101,564 bytes)</TotalSize> <StandardMessagesDeleted>0</StandardMessagesDeleted> <AssociatedMessagesDeleted>0</AssociatedMessagesDeleted> <DumpsterMessagesDeleted>0</DumpsterMessagesDeleted> <Result ErrorCount="0" CompletedCount="1" WarningCount="0" /> </TaskFooter> </restore-Mailbox> # # # TXT # # [07.13.2011 12:41:34.0101] [0] Executing Command: ' $scriptCmd = {& $wrappedCmd @PSBoundParameters }' [07.13.2011 12:41:34.0101] [0] Searching objects "RDB1" of type "MailboxDatabase" under the root "$null". [07.13.2011 12:41:34.0116] [0] Previous operation run on domain controller '01SI012DC06.HOST1LOC.US'. [07.13.2011 12:41:34.0148] [0] Current ScopeSet is: { Recipient Read Scope: {{, }}, Recipient Write Scopes: {{, }}, Configuration Read Scope: {{, }}, Configuration Write Scope(s): {{, }, }, Exclusive Recipient Scope(s): {}, Exclusive Configuration Scope(s): {} } [07.13.2011 12:41:34.0148] [0] Searching objects "TestUser1" of type "ADUser" under the root "$null". [07.13.2011 12:41:34.0163] [0] Previous operation run on global catalog server '01SI012DC06.HOST1LOC.US'. [07.13.2011 12:41:34.0163] [0] Processing object "HOST1LOC.US/TestGroup/TestUser1". [07.13.2011 12:41:34.0241] [0] Searching objects "Mailbox Database 123456789" of type "MailboxDatabase" under the root "$null". [07.13.2011 12:41:34.0241] [0] Previous operation run on domain controller '01SI012DC06.HOST1LOC.US'. [07.13.2011 12:41:34.0288] [0] Searching objects "0a7914fb-c9f1-483e-8c2c-487ccda5194a" of type "MailboxStatistics" under the root "RDB1". [07.13.2011 12:41:34.0288] [0] Previous operation that ran on: '01SI012MBX04.HOST1LOC.US'. [07.13.2011 12:41:34.0288] [0] Admin Audit Log: Entered Handler:Validate. [07.13.2011 12:41:34.0288] [0] Admin Audit Log: Exited Handler:Validate. [07.13.2011 12:41:36.0710] [0] Resolved current organization: . [07.13.2011 12:41:36.0726] [0] Admin Audit Log: Entered Handler:OnComplete. [07.13.2011 12:41:36.0757] [0] Admin Audit Log: Exited Handler:OnComplete. [07.13.2011 12:41:36.0757] [0] Ending processing & [07.13.2011 12:41:36.0757] [0] [ManipulantName] The operation has started. [07.13.2011 12:41:36.0757] [0] [ManipulantName] Approving object. [07.13.2011 12:41:36.0757] [0] [ManipulantName] The operation has finished. [07.13.2011 12:41:36.0757] [0] [ManipulantName] The operation has started. [07.13.2011 12:41:36.0757] [0] [ManipulantName] Approving object. [07.13.2011 12:41:36.0851] [0] [ManipulantName] Opening source mailbox. [07.13.2011 12:41:36.0851] [0] [ManipulantName] Trying to open mailbox by GUID: szServerLegacyDN: /o=HOST1/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=01SI012MBX04 pguidMdb: {8E83E863-1508-41BD-B734-4C04C2C34BF8} pguidMailbox: {0A7914FB-C9F1-483E-8C2C-487CCDA5194A} szServer: 01SI012MBX04.HOST1LOC.US [07.13.2011 12:41:36.0851] [0] [ManipulantName] Open mailbox succeeded. [07.13.2011 12:41:36.0851] [0] [ManipulantName] Opening destination mailbox. [07.13.2011 12:41:36.0867] [0] [ManipulantName] Trying to open mailbox by GUID: szServerLegacyDN: /o=HOST1/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=01SI012MBX04 pguidMdb: {7B5054F3-6859-47E6-90BF-0248094E919D} pguidMailbox: {0A7914FB-C9F1-483E-8C2C-487CCDA5194A} szServer: 01SI012MBX04.HOST1LOC.US [07.13.2011 12:41:36.0867] [0] [ManipulantName] Open mailbox succeeded. [07.13.2011 12:41:36.0867] [0] [ManipulantName] Moving messages. [07.13.2011 12:41:36.0867] [0] [ManipulantName] Recovering messages. [07.13.2011 12:41:36.0867] [0] [ManipulantName] Merging messages. [07.13.2011 12:41:37.0226] [0] [ManipulantName] 0 items couldn't be moved to the target mailbox. [07.13.2011 12:41:37.0226] [0] [ManipulantName] Messages moved. Closing connections. [07.13.2011 12:41:37.0429] [0] [ManipulantName] The operation has finished. # #
July 13th, 2011 8:59am

Hi, Did you find the solution to this? I am also strugling with the restore-mailbox command and the subjectkeywords attribute Leif
Free Windows Admin Tool Kit Click here and download it now
June 21st, 2012 9:06am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics