Exchange2013 recovering a database using dial tone recovery

Source: Internet
Author: User

1. Simulating database corruption

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/7D/88/wKioL1bqW6CSVDxAAABPVL6B1CQ631.png "title=" Image058.png "alt=" Wkiol1bqw6csvdxaaabpvl6b1cq631.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/7D/8B/wKiom1bqWy6hx6f7AAEZfN2K4Y4303.png "title=" Image060.png "alt=" Wkiom1bqwy6hx6f7aaezfn2k4y4303.png "/>


This time the database is corrupted, the user cannot log in to the mailbox, and cannot receive or send mail. As shown in.

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/7D/8B/wKiom1bqW2OTMJ4mAAGD1lekCH4555.png "title=" Image062.png "alt=" Wkiom1bqw2otmj4maagd1lekch4555.png "/>



2. Create a dial tone database

    • First of all, to restore the user's mail to send and receive, you can create a dial tone database, so that users can send and receive mail. Create a folder to use for the dial tone database.

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/7D/88/wKioL1bqXMHRwbBhAABVeqBgWB0416.png "title=" Image064.png "alt=" Wkiol1bqxmhrwbbhaabveqbgwb0416.png "/>

    • Create a dial tone database

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/7D/8B/wKiom1bqXFuSgQKwAABZMXdAdXM203.png "title=" Image066.png "alt=" Wkiom1bqxfusgqkwaabzmxdadxm203.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/7D/8B/wKiom1bqXJqSObMUAAAhzB_fdXg072.png "title=" Image068.png "alt=" Wkiom1bqxjqsobmuaaahzb_fdxg072.png "/>



    • Temporarily migrate all the users on the original DB1 to the DTB1, allowing the user to send and receive the function.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/7D/8B/wKiom1bqXI-A6RlRAABmmuOW6ms590.png "title=" Image070.png "alt=" Wkiom1bqxi-a6rlraabmmuow6ms590.png "/>


    • Loading the DTB1 database

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/7D/88/wKioL1bqXWWhMkxdAAAYYy34zFY387.png "title=" Image072.png "alt=" Wkiol1bqxwwhmkxdaaayyy34zfy387.png "/>


    • Check if the user in the original DB1 is able to send and receive messages (but cannot view previous messages)

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/7D/8B/wKiom1bqXPzRmGl6AABsQvppeF4268.png "title=" Image074.png "alt=" Wkiom1bqxpzrmgl6aabsqvppef4268.png "/>


    • Create a RESTORE Database RDB1

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/7D/8B/wKiom1bqXR7BaXtlAABhe76ub_8613.png "title=" Image075.png "alt=" Wkiom1bqxr7baxtlaabhe76ub_8613.png "/>


650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/7D/8B/wKiom1bqXTzzXio7AAF1O_tbROE527.png "title=" Image077.png "alt=" Wkiom1bqxtzzxio7aaf1o_tbroe527.png "/>650" this.width=650; "src=" http://s5.51cto.com/wyfs02/ M01/7d/89/wkiol1bqxelsi-jsaaex7ltjsle566.png "title=" Image079.png "alt=" Wkiol1bqxelsi-jsaaex7ltjsle566.png "/>


    • Create an RDB

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/7D/89/wKioL1bqXgniWjNvAABm_asIKdw094.png "title=" Image081.png "alt=" Wkiol1bqxgniwjnvaabm_asikdw094.png "/>

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/7D/89/wKioL1bqXiCRig_QAAAZZR1pr-Y670.png "title=" Image083.png "alt=" Wkiol1bqxicrig_qaaazzr1pr-y670.png "/>


    • Copy all log files in DB1 to the RDB1 folder and repeat the direct overwrite

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/7D/89/wKioL1bqXnni1Ag7AADwu-qI45c430.png "style=" float: none; "title=" Image085.png "alt=" Wkiol1bqxnni1ag7aadwu-qi45c430.png "/>

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/7D/8B/wKiom1bqXezAe_p9AADX2mZhiXc621.png "style=" float: none; "title=" Image086.png "alt=" Wkiom1bqxezae_p9aadx2mzhixc621.png "/>



    • Force replay of log files in RDB1 to configure the database to clean Shutdowan state

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/7D/89/wKioL1bqXp_iq-H7AABSeRT8QFA667.png "title=" Image088.png "alt=" Wkiol1bqxp_iq-h7aabsert8qfa667.png "/>650" this.width=650; "src=" http://s3.51cto.com/wyfs02/ M00/7d/8c/wkiom1bqxinxeospaabytgox9-y627.png "title=" Image090.png "alt=" Wkiom1bqxinxeospaabytgox9-y627.png "/>


    • Loading RDB1 , and then uninstall it

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/7D/89/wKioL1bqXxzCHv9IAABdBTtYGsc177.png "title=" Image092.png "alt=" Wkiol1bqxxzchv9iaabdbttygsc177.png "/>


    • The newly created folder is then imported into a database, and the user's mailbox is temporarily associated with the newly created database so that the user can temporarily send and receive new messages.

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/7D/8C/wKiom1bqYn3Apge2AABQXqoyuEc287.png "title=" Image094.png "alt=" Wkiom1bqyn3apge2aabqxqoyuec287.png "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/7D/8A/wKioL1bqZBmRDFi3AAAQXiVV7v4978.png "style=" float: none; "title=" Image096.png "alt=" Wkiol1bqzbmrdfi3aaaqxivv7v4978.png "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/7D/8C/wKiom1bqY4zR9PtPAABWWw6RYB8293.png "style=" float: none; "title=" Image097.png "alt=" Wkiom1bqy4zr9ptpaabwww6ryb8293.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/7D/8A/wKioL1bqZBug0E7jAABXhmJpnu0515.png "style=" float: none; "title=" Image099.png "alt=" Wkiol1bqzbug0e7jaabxhmjpnu0515.png "/>

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/7D/8A/wKioL1bqZBzTCb6vAABgDYollOo523.png "style=" float: none; "title=" Image101.png "alt=" Wkiol1bqzbztcb6vaabgdyolloo523.png "/>

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/7D/8C/wKiom1bqY5CRa_HNAABpfrqxrtM421.png "style=" float: none; "title=" Image102.png "alt=" Wkiom1bqy5cra_hnaabpfrqxrtm421.png "/>



    • Next, the previous user's old mailbox data is imported into this new database through the method of recovering the database previously described

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/7D/8A/wKioL1bqZJrR2xGaAAFa7fFV5Yo452.png "style=" float: none; "title=" Image103.png "alt=" Wkiol1bqzjrr2xgaaafa7ffv5yo452.png "/>

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/7D/8A/wKioL1bqZJvTN7tyAAFwpvZvCmE480.png "style=" float: none; "title=" Image105.png "alt=" Wkiol1bqzjvtn7tyaafwpvzvcme480.png "/>

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/7D/8C/wKiom1bqZA2Rqt0LAAEGxbBpMdQ062.png "style=" float: none; "title=" Image107.png "alt=" Wkiom1bqza2rqt0laaegxbbpmdq062.png "/>

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/7D/8C/wKiom1bqZA7yKFacAABpEBZ521o901.png "style=" float: none; "title=" Image109.png "alt=" Wkiom1bqza7ykfacaabpebz521o901.png "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/7D/8C/wKiom1bqZBCBAciMAAC680gn024152.png "style=" float: none; "title=" Image111.png "alt=" Wkiom1bqzbcbacimaac680gn024152.png "/>


    • Then mount the recovery database

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/7D/8C/wKiom1bqZJiTpswZAAEoOgRRdJ0734.png "style=" float: none; "title=" Image112.png "alt=" Wkiom1bqzjitpswzaaeoogrrdj0734.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/7D/8C/wKiom1bqZJ3SLEE6AAEvr2tR-Qk378.png "style=" float: none; "title=" Image114.png "alt=" Wkiom1bqzj3slee6aaevr2tr-qk378.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/7D/8A/wKioL1bqZS2ifCRnAABNdpjIjWs121.png "style=" float: none; "title=" Image116.png "alt=" Wkiol1bqzs2ifcrnaabndpjijws121.png "/>

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/7D/8A/wKioL1bqZS_C0PUcAABYUzkK8p0902.png "style=" float: none; "title=" Image118.png "alt=" Wkiol1bqzs_c0pucaabyuzkk8p0902.png "/>

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/7D/8A/wKioL1bqZTKhBc0fAABVv0BWxmQ522.png "style=" float: none; "title=" Image120.png "alt=" Wkiol1bqztkhbc0faabvv0bwxmq522.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/7D/8A/wKioL1bqZTOA2VjhAAAhRKgJbgA228.png "style=" float: none; "title=" Image122.png "alt=" Wkiol1bqztoa2vjhaaahrkgjbga228.png "/>



    • After that, you cut and paste all the files in DTB1 and RDB1 except for a long list of characters, and it is best to back up a file to another location before cutting and pasting. Then rename the two EDB files separately rename the Db1.edb file in the DTB1 folder to Dtb1.edb, and rename the Dtb1.edb file in the RDB1 folder to Db1.edb.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/7D/8A/wKioL1bqZXvBswz_AADbJ1HzS4w248.png "style=" float: none; "title=" Image124.png "alt=" Wkiol1bqzxvbswz_aadbj1hzs4w248.png "/>

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/7D/8A/wKioL1bqZX3CPjNeAADqR2pEPoM082.png "style=" float: none; "title=" Image126.png "alt=" Wkiol1bqzx3cpjneaadqr2pepom082.png "/>


    • Then load two databases.

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/7D/8D/wKiom1bqZSGh1stbAAAQo4yrQCw255.png "title=" Image128.png "alt=" Wkiom1bqzsgh1stbaaaqo4yrqcw255.png "/>


    • This time can be found test2 users can see all the previously lost mail (because the current connected DTB1 database, and the data is restored from the data), but can not see the creation of the dial tone database after the new send and receive mail, such as.

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/7D/8A/wKioL1bqZdCxdAGZAACswThIlCU047.png "title=" Image130.png "alt=" Wkiol1bqzdcxdagzaacswthilcu047.png "/>


    • Using the Get-mailbox and New-mailboxrestorerequest cmdlets, you can export data from an RDB and import it into a recovered database, as shown in this example. This will import all messages sent and received using the dial tone database into the production database.

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/7D/8A/wKioL1bqZfeAc0YvAAAbP7mspcU074.png "title=" Image132.png "alt=" Wkiol1bqzfeac0yvaaabp7mspcu074.png "/>


    • Check Test2 's mailbox again, find all the mail is back, all appear in the user's mailbox

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/7D/8A/wKioL1bqZhezfe3PAACP-e4Y-Vs268.png "title=" Image134.png "alt=" Wkiol1bqzhezfe3paacp-e4y-vs268.png "/>



    • After the restore operation is complete, you can dismount and delete the RDB, as shown in this example.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/7D/8A/wKioL1bqZjmRAkAvAAA0HuZzrcw074.png "title=" Image136.png "alt=" Wkiol1bqzjmrakavaaa0huzzrcw074.png "/>

All the steps in this experiment are complete.

This article is from the "Microsoft Technology Exchange" blog, please be sure to keep this source http://robinzhao.blog.51cto.com/7168277/1752204

Exchange2013 recovering a database using dial tone recovery

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.