7.2 Recovering data using the recovery database

Source: Internet
Author: User

Recovery Database (RDB) a special mailbox database through which you can mount a restored mailbox database and extract data from a restored database during a recovery operation. You can use the New-mailboxrestorerequest cmdlet to extract data from an RDB. Once extracted, data can be exported to a folder or merged into an existing mailbox. An RDB enables you to recover data from a backup or a copy of a database without disturbing the user's access to the current data.

Microsoft Exchange Server 2013 supports restoring data directly to the recovery database. Installing recovered data as a recovery database enables an administrator to recover individual items in a single mailbox or mailbox. Restoring to a recovery database can be done in two ways:

    • If the recovery database already exists, the application can dismount the database, restore the data to the recovery database and log files, and then reload the database.

    • You can restore the database and log files to any disk location. Exchange parses the restored data and replays the transaction log to keep the database up-to-date, and then configures the recovery database to point to the recovered database file.

Differences between a mailbox database and a recovery database

The RDB and standard mailbox databases differ in the following ways:

    • The RDB is created through the Exchange Management Shell.

    • You cannot send messages from an RDB, or mail them to an RDB. All client protocols, including SMTP, POP3, and IMAP4, are blocked from access to the RDB. This design prevents you from using an RDB to insert messages into the messaging system or to remove messages from the messaging system.

    • Client MAPI access that uses Microsoft Officeoutlook or Outlook Web App will be blocked. The RDB supports MAPI access, but is supported only by recovery tools and applications. When you use MAPI to log on to a mailbox in an RDB, you must specify a mailbox GUID and a database GUID.

    • The mailbox in the RDB cannot connect to the user account. To allow users to access data for mailboxes in an RDB, you must merge mailboxes into existing mailboxes or export them to a folder.

    • You cannot use System management policies and mailbox management policies. This design prevents the system from deleting items in the RDB during the recovery process.

    • Online maintenance cannot be performed for an RDB.

    • You cannot enable circular logging for an RDB.

    • Only one RDB can be loaded in one mailbox server at any time. The usage of the RDB is not limited by the database per mailbox server.

    • You cannot create a mailbox database copy of an RDB.

    • An RDB can be used as a target for a restore operation, but not for a backup operation.

    • A recovered database that is mounted as an RDB is not bound to the original mailbox in any way.


Use the previous backup environment for recovery:

http://lianggj.blog.51cto.com/176264/1606709

Delete Extest2 Mail

650) this.width=650; "title=" 1.jpg "alt=" wkiom1takbbqr5xhaaehoaduqgy052.jpg "src=" http://s3.51cto.com/wyfs02/M02/ 58/ea/wkiom1takbbqr5xhaaehoaduqgy052.jpg "/>

Log on as administrator, open MBX, start restore

650) this.width=650; "title=" 2.jpg "alt=" wkiol1takvwwmg2oaai4fdzydfm349.jpg "src=" http://s3.51cto.com/wyfs02/M02/ 58/e7/wkiol1takvwwmg2oaai4fdzydfm349.jpg "/>


Recovery Wizard, select "This server", next

650) this.width=650; "title=" 3.jpg "alt=" wkiom1takmqaxlhpaaezd7d9ovw324.jpg "src=" http://s3.51cto.com/wyfs02/M00/ 58/ea/wkiom1takmqaxlhpaaezd7d9ovw324.jpg "/>


Select a backup date, next

650) this.width=650; "title=" 4.jpg "alt=" wkiom1takqidnjgxaagrdw7dxwa977.jpg "src=" http://s3.51cto.com/wyfs02/M01/ 58/ea/wkiom1takqidnjgxaagrdw7dxwa977.jpg "/>


Select the recovery type "application" and the next step

650) this.width=650; "title=" 5.jpg "alt=" wkiol1tak7_iixuuaafkeqf8fus520.jpg "src=" http://s3.51cto.com/wyfs02/M02/ 58/e7/wkiol1tak7_iixuuaafkeqf8fus520.jpg "/>


Select the application "Exchange" and the next step

650) this.width=650; "title=" 6.jpg "alt=" wkiol1tala6d_jqnaafwbpcs-l8142.jpg "src=" http://s3.51cto.com/wyfs02/M01/ 58/e7/wkiol1tala6d_jqnaafwbpcs-l8142.jpg "/>


Specify recovery option "recover to another location", Next

650) this.width=650; "title=" 7.jpg "alt=" wkiol1taljnqt4-zaagaiw0iiem059.jpg "src=" http://s3.51cto.com/wyfs02/M02/ 58/e7/wkiol1taljnqt4-zaagaiw0iiem059.jpg "/>


Confirm "Recover"

650) this.width=650; "title=" 8.jpg "alt=" wkiom1talasr38fqaaexihfgrtm590.jpg "src=" http://s3.51cto.com/wyfs02/M02/ 58/ea/wkiom1talasr38fqaaexihfgrtm590.jpg "/>


When you are finished, "close"

650) this.width=650; "title=" 9.jpg "alt=" wkiom1taldydkkk_aag6bgserd0806.jpg "src=" http://s3.51cto.com/wyfs02/M01/ 58/ea/wkiom1taldydkkk_aag6bgserd0806.jpg "/>


Open EMS,

Get-mailboxdatabase–id "MailboxDatabase" | FL name, GUID, EdbFilePath, Logfolderpath

650) this.width=650; "title=" 10.jpg "alt=" wkiol1talj6rg2iaaaf8ahbohlm282.jpg "src=" http://s3.51cto.com/wyfs02/M02/ 58/e7/wkiol1talj6rg2iaaaf8ahbohlm282.jpg "/>


Create a recovery database. Specify a unique name for the recovery database, but to use the name and path of the database file for the EdbFilePath parameter, use the location of the recovered log file for the Logfolderpath parameter.

New-mailboxdatabase–recovery–name Recoverydb–edbfilepath "C:\RDB\
8db96be0-b2bf-49d1-9d6c-29624cbbc86a\c_\program Files\microsoft\exchangeserver\
V15\mailbox\mailbox Database 1436714738\mailboxdatabase 1436714738.edb "–logfolderpath" C:\RDB\ 8db96be0-b2bf-49d1-9d6c-29624cbbc86a\c_\programfiles\microsoft\exchange Server\
V15\mailbox\mailbox Database 1436714738 "–server s05

650) this.width=650; "title=" 11.jpg "alt=" wkiom1tamyjbv7asaamq07imy4q950.jpg "src=" http://s3.51cto.com/wyfs02/M02/ 58/ea/wkiom1tamyjbv7asaamq07imy4q950.jpg "/>


Restart the Microsoft Exchange Information Store service:

Restart-service MSExchangeIS

650) this.width=650; "title=" 12.jpg "alt=" wkiom1tamgxhcb3laadtjextuze981.jpg "src=" http://s3.51cto.com/wyfs02/M00/ 58/ea/wkiom1tamgxhcb3laadtjextuze981.jpg "/>


Go to the Restore directory:

CD path

650) this.width=650; "title=" 13.jpg "alt=" wkiol1tamzxyksxjaadk0jid7dk776.jpg "src=" http://s3.51cto.com/wyfs02/M01/ 58/e8/wkiol1tamzxyksxjaadk0jid7dk776.jpg "/>


Use Eseutil to place the database in a clean shutdown state.

ESEUTIL/R e00/i/d

650) this.width=650; "title=" 14.jpg "alt=" wkiom1tamtmj9ue6aaf6ulz_6ci582.jpg "src=" http://s3.51cto.com/wyfs02/M02/ 58/ea/wkiom1tamtmj9ue6aaf6ulz_6ci582.jpg "/>


Mount Database:

Mount-database Recoverydb

650) this.width=650; "title=" 15.jpg "alt=" wkiol1tankzwvo4uaaep0pvd62g680.jpg "src=" http://s3.51cto.com/wyfs02/M01/ 58/e8/wkiol1tankzwvo4uaaep0pvd62g680.jpg "/>


Verify that the mounted database contains the mailboxes that you want to restore:

Get-mailboxstatistics-databaserecoverydb

650) this.width=650; "title=" 16.jpg "alt=" wkiom1tand2i7dfjaahjn5jbjks880.jpg "src=" http://s3.51cto.com/wyfs02/M01/ 58/ea/wkiom1tand2i7dfjaahjn5jbjks880.jpg "/>


Use the New-mailboxrestorerequest cmdlet to restore a mailbox or item from the recovery database to the production mailbox.

New-mailboxrestorerequest–sourcedatabase recoverydb–sourcestoremailbox "Extest2" –targetmailbox [email Protected] -skipmerging Storageproviderforsource

650) this.width=650; "title=" 17.jpg "alt=" wkiom1tanascmgonaadalft9nr8000.jpg "src=" http://s3.51cto.com/wyfs02/M02/ 58/ea/wkiom1tanascmgonaadalft9nr8000.jpg "/>


View results:

650) this.width=650; "title=" 18.jpg "alt=" wkiol1tanucazenuaacrmuvc1vi188.jpg "src=" http://s3.51cto.com/wyfs02/M01/ 58/e8/wkiol1tanucazenuaacrmuvc1vi188.jpg "/>

Open mailbox:

650) this.width=650; "title=" 19.jpg "alt=" wkiom1tankohoypnaagmcnlipfe951.jpg "src=" http://s3.51cto.com/wyfs02/M02/ 58/ea/wkiom1tankohoypnaagmcnlipfe951.jpg "/>


Reference: https://technet.microsoft.com/zh-CN/library/ee332351 (v=exchg.150). aspx


This article is from "1+1=?" "Blog, be sure to keep this provenance http://lianggj.blog.51cto.com/176264/1607002

7.2 Recovering data using the recovery database

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.