The above command will perform the process of recording the data that we have just recovered from the backup process to the database. And the final part of this whole process is to combine Recovery Database:
Mount-Database RecoveryDatabase1
At this point, we are ready to restore the requested data.
Unlike some previous versions of Exchange, we will not have any of the controls have a graphical interface for each specific process. To perform mail recovery process, we need to use Exchange Management Shell.
For example, we have an account named mark_wills , and he has just deleted the entire contents of the mailbox, our task here is to help Mark recover those data. When the system is set up according to the above model, all mailboxes of mark_wills will be in Recovery Database , and we only need to use the Exchange Management Shell and type the following command:
Restore-Mailbox -Identity mark_wills -RecoveryDatabase RecoveryDatabase1
The above command will perform the mailbox data recovery operation of the mark_wills account from the database named RecoveryDatabase1 to the mailbox section in the current database (of course, the original mailbox section must be preserved). . The next thing is to restore the mailbox of mark_wills from the Recovery Database and put it in a mark_wills Recovery folder inside another mailbox named tigermatt :
Restore-Mailbox -Identity tigermatt -RecoveryDatabase RecoveryDatabase1 -RecoveryMailbox mark_wills -TargetFolder 'mark_wills Recovery'
Besides, we can search for keywords within the mailbox . Specifically in this test, we proceed to find any messages containing demazter and store all in 1 other directory - mark_wills recovery with demazter text , placed inside another alanhardisty mailbox:
Restore-Mailbox -Identity alanhardisty -RecoveryDatabase RecoveryDatabase1 -RecoveryMailbox mark_wills -SubjectKeywords "demazter" -TargetFolder 'mark_wills recovery with demazter'
Good luck!