{"id":146,"date":"2017-11-08T07:04:42","date_gmt":"2017-11-08T12:34:42","guid":{"rendered":"http:\/\/www.emailviewer.org\/blog\/?p=146"},"modified":"2018-01-05T06:38:07","modified_gmt":"2018-01-05T12:08:07","slug":"rebuild-exchange-2013-database-mailbox","status":"publish","type":"post","link":"https:\/\/www.emailviewer.org\/blog\/rebuild-exchange-2013-database-mailbox\/","title":{"rendered":"Rebuild Exchange 2013 Database Mailbox By PowerShell Commands"},"content":{"rendered":"<p>Are you looking for a solution to rebuild Exchange 2013 database mailbox using PowerShell commands? Yes? Then, you are absolutely at the correct place. Here, one is going to find the solution to recover mailbox from exchange 2013 with help of a new database i.e., RDB (Recovery database).<\/p>\n<p>Microsoft Exchange server is one of the most widely used servers. It is utilized in small-scale as well as large-scale industries. An <a href=\"http:\/\/www.emailviewer.org\/edb\/\" target=\"_blank\"><strong>EDB<\/strong><\/a> file also known as the Exchange database is used as the local storage files of the server. This file comprises of emails, contacts, tasks, journals, etc., which are related to all users mailboxes. These files are stored on the local machine, which means that they are highly prone to the corruption or damage. This issue arises the chances of making the file inaccessible for working. These kind of server issues are very much harmful to end users who are enterprise or at large business level.<\/p>\n<h2><strong>Quick Glance About Recovery Database in MS Exchange 2013<\/strong><\/h2>\n<p>A RDB or Recovery database is a specific type of mailbox, which enables users to mount and fetch data from the regained mailbox database. It is considered as the part of rebuilding procedure that permits one to retrieve items from the database copy or backup without interrupting the user\u2019s ongoing activity. Once the RDB is created in Exchange 2013 server, users will be able to restore mailbox database to RDB through a backup procedure or by process of copying database and its log files. Now, one can take help of New-MailboxRestoreRequest command for extracting items from an already recovered database. When this is completed, the items can be moved to a folder or combined into the existing mailbox.<\/p>\n<h2><strong>Requirements Before Rebuild Exchange 2013 Database Mailbox<\/strong><\/h2>\n<p>Following points are be verified before recovering mailboxes from MS Exchange 2013 :<\/p>\n<ul>\n<li>Users must be having complete permissions from Recipients end to attempt the recovery procedure.<\/li>\n<li>Backup applications are required to restore the Exchange data to the recovery database. The Windows server backup tool is a perfect utility to restore file-level backups to the recovery database. This can be utilized for retrieving application-level backups for recovering items.<\/li>\n<li>The recovered database and its log files must be moved or copied in the RDB folder structure.<\/li>\n<li>The state of the database should be in the clean shutdown. All the recovered databases are going to be in dirty shutdown state because the recovered database is the alternate restore path for all databases. Users need to execute Eseutil \/R command for putting restored data into the clean shutdown state.<\/li>\n<\/ul>\n<h3><strong>Solution to Rebuild Exchange 2013 Database Mailbox<\/strong><\/h3>\n<p>With help of following steps, users will be able to rebuild Exchange 2013 mailbox using PowerShell commands :<\/p>\n<ul>\n<li>Copy the extracted database and all its log files to a location where you will be using recovery database<\/li>\n<li>Use the following command for bringing the database in the clean shutdown state :<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-147\" src=\"http:\/\/www.emailviewer.org\/blog\/wp-content\/uploads\/2017\/11\/1.png\" alt=\"rebuild exchange 2013 database mailbox\" width=\"717\" height=\"49\" srcset=\"https:\/\/www.emailviewer.org\/blog\/wp-content\/uploads\/2017\/11\/1.png 717w, https:\/\/www.emailviewer.org\/blog\/wp-content\/uploads\/2017\/11\/1-300x21.png 300w\" sizes=\"auto, (max-width: 717px) 100vw, 717px\" \/><\/p>\n<p>where, <strong>EXX<\/strong> indicates the log generation prefix, and<strong> RDBLogFilePath <\/strong>requires the location of the log file<\/p>\n<ul>\n<li>Now it is the time to create a recovery database in Microsoft Exchange 2013. You need to provide a unique name for the database<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-148\" src=\"http:\/\/www.emailviewer.org\/blog\/wp-content\/uploads\/2017\/11\/2.jpg\" alt=\"recover mailbox from exchange 2013\" width=\"1046\" height=\"38\" srcset=\"https:\/\/www.emailviewer.org\/blog\/wp-content\/uploads\/2017\/11\/2.jpg 1046w, https:\/\/www.emailviewer.org\/blog\/wp-content\/uploads\/2017\/11\/2-300x11.jpg 300w, https:\/\/www.emailviewer.org\/blog\/wp-content\/uploads\/2017\/11\/2-768x28.jpg 768w, https:\/\/www.emailviewer.org\/blog\/wp-content\/uploads\/2017\/11\/2-1024x37.jpg 1024w\" sizes=\"auto, (max-width: 1046px) 100vw, 1046px\" \/><\/p>\n<p>where, <strong>EdbFilePath<\/strong> parameter requires Exchange database file name and path, and <strong>LogFilePath <\/strong>parameter requires location of recovered log files. You can more clearly understand this point by taking an example. Suppose you want to create a RDB in Exchange 2013, which is used to extract DB1.edb with its log files. These files are stored at<strong> E:\\Databases\\RDB1<\/strong>. Now, in this case, the Shell command will be in the following way :<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-149\" src=\"http:\/\/www.emailviewer.org\/blog\/wp-content\/uploads\/2017\/11\/3.jpg\" alt=\"rebuild exchange 2013 mailbox\" width=\"1156\" height=\"34\" srcset=\"https:\/\/www.emailviewer.org\/blog\/wp-content\/uploads\/2017\/11\/3.jpg 1156w, https:\/\/www.emailviewer.org\/blog\/wp-content\/uploads\/2017\/11\/3-300x9.jpg 300w, https:\/\/www.emailviewer.org\/blog\/wp-content\/uploads\/2017\/11\/3-768x23.jpg 768w, https:\/\/www.emailviewer.org\/blog\/wp-content\/uploads\/2017\/11\/3-1024x30.jpg 1024w\" sizes=\"auto, (max-width: 1156px) 100vw, 1156px\" \/><\/p>\n<ul>\n<li>Now it is the time to restart the MS Exchange information store service via following Shell command :<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-150\" src=\"http:\/\/www.emailviewer.org\/blog\/wp-content\/uploads\/2017\/11\/4.jpg\" alt=\"start exchange information store service\" width=\"479\" height=\"32\" srcset=\"https:\/\/www.emailviewer.org\/blog\/wp-content\/uploads\/2017\/11\/4.jpg 479w, https:\/\/www.emailviewer.org\/blog\/wp-content\/uploads\/2017\/11\/4-300x20.jpg 300w\" sizes=\"auto, (max-width: 479px) 100vw, 479px\" \/><\/p>\n<ul>\n<li>Use <strong>\u2018Mount-database \u2019<\/strong> command to mount the recovery database in MS Exchange 2013<\/li>\n<li>Check that the database mounted in Step (5) comprises of mailboxes, which you want to restore. For this, you can utilize following command :<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-151\" src=\"http:\/\/www.emailviewer.org\/blog\/wp-content\/uploads\/2017\/11\/5.jpg\" alt=\"mount database\" width=\"393\" height=\"29\" srcset=\"https:\/\/www.emailviewer.org\/blog\/wp-content\/uploads\/2017\/11\/5.jpg 393w, https:\/\/www.emailviewer.org\/blog\/wp-content\/uploads\/2017\/11\/5-300x22.jpg 300w\" sizes=\"auto, (max-width: 393px) 100vw, 393px\" \/><\/p>\n<ul>\n<li>Now it is the time to move the items from RDB to the production mailbox with help of <strong>New-MailboxRestoreRequest<\/strong>. This you can understand with help of an example.<br \/>\nSuppose you are having a mailbox having MailboxGUID \u2013 1d20855f-fd54-4681-98e6-e249f7326ddd on the mailbox database DB1. You want to restore this mailbox to the targeted mailbox i.e., alias Morris. Then, in this case, you can follow below-mentioned command :<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-152\" src=\"http:\/\/www.emailviewer.org\/blog\/wp-content\/uploads\/2017\/11\/6.jpg\" alt=\"mailbox restore request\" width=\"1006\" height=\"36\" srcset=\"https:\/\/www.emailviewer.org\/blog\/wp-content\/uploads\/2017\/11\/6.jpg 1006w, https:\/\/www.emailviewer.org\/blog\/wp-content\/uploads\/2017\/11\/6-300x11.jpg 300w, https:\/\/www.emailviewer.org\/blog\/wp-content\/uploads\/2017\/11\/6-768x27.jpg 768w\" sizes=\"auto, (max-width: 1006px) 100vw, 1006px\" \/><\/p>\n<p>The following command restores entire content of the source mailbox, which is having name \u2018Morris Cornejo\u2019 on the DB1 mailbox database to archive mailbox for Morris@contoso.com<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-153\" src=\"http:\/\/www.emailviewer.org\/blog\/wp-content\/uploads\/2017\/11\/7.jpg\" alt=\"archive mailbox\" width=\"1072\" height=\"35\" srcset=\"https:\/\/www.emailviewer.org\/blog\/wp-content\/uploads\/2017\/11\/7.jpg 1072w, https:\/\/www.emailviewer.org\/blog\/wp-content\/uploads\/2017\/11\/7-300x10.jpg 300w, https:\/\/www.emailviewer.org\/blog\/wp-content\/uploads\/2017\/11\/7-768x25.jpg 768w, https:\/\/www.emailviewer.org\/blog\/wp-content\/uploads\/2017\/11\/7-1024x33.jpg 1024w\" sizes=\"auto, (max-width: 1072px) 100vw, 1072px\" \/><\/p>\n<ul>\n<li>Timely examine the live status of Mailbox restore request with help of Get-MailboxRestoreRequest command. When this restore procedure gets successfully completed, erase the active restore request via<strong> Remove-MailboxRestoreRequest<\/strong>.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-154\" src=\"http:\/\/www.emailviewer.org\/blog\/wp-content\/uploads\/2017\/11\/8.jpg\" alt=\"get mailbox restore request\" width=\"566\" height=\"31\" srcset=\"https:\/\/www.emailviewer.org\/blog\/wp-content\/uploads\/2017\/11\/8.jpg 566w, https:\/\/www.emailviewer.org\/blog\/wp-content\/uploads\/2017\/11\/8-300x16.jpg 300w\" sizes=\"auto, (max-width: 566px) 100vw, 566px\" \/><\/p>\n<h3><strong>Observational Verdict<\/strong><\/h3>\n<p>Users can check the whether the problem to rebuild Exchange 2013 database mailbox is successfully resolved or not. For this, they have to open targeted mailbox in MS Outlook or OWA and examine for the same. However, if the problem does not gets resolved then, users need to opt for Exchange recovery software. This software is provided to give a hassle-free solution for fixing all errors and problems related to the EDB file.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Are you looking for a solution to rebuild Exchange 2013 database mailbox using PowerShell commands? Yes? Then, you are absolutely at the correct place. Here, one is going to find the solution to recover mailbox from exchange 2013 with help of a new database i.e., RDB (Recovery database). Microsoft Exchange server is one of the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":155,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[23],"class_list":["post-146","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-exchange-server","tag-rebuild-exchange-2013-database-mailbox"],"_links":{"self":[{"href":"https:\/\/www.emailviewer.org\/blog\/wp-json\/wp\/v2\/posts\/146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.emailviewer.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.emailviewer.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.emailviewer.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.emailviewer.org\/blog\/wp-json\/wp\/v2\/comments?post=146"}],"version-history":[{"count":2,"href":"https:\/\/www.emailviewer.org\/blog\/wp-json\/wp\/v2\/posts\/146\/revisions"}],"predecessor-version":[{"id":180,"href":"https:\/\/www.emailviewer.org\/blog\/wp-json\/wp\/v2\/posts\/146\/revisions\/180"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.emailviewer.org\/blog\/wp-json\/wp\/v2\/media\/155"}],"wp:attachment":[{"href":"https:\/\/www.emailviewer.org\/blog\/wp-json\/wp\/v2\/media?parent=146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.emailviewer.org\/blog\/wp-json\/wp\/v2\/categories?post=146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.emailviewer.org\/blog\/wp-json\/wp\/v2\/tags?post=146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}