{"id":308,"date":"2018-07-31T17:43:13","date_gmt":"2018-07-31T17:43:13","guid":{"rendered":"http:\/\/www.blog.mozesoft.com\/?p=308"},"modified":"2021-06-17T10:39:12","modified_gmt":"2021-06-17T10:39:12","slug":"exchange-database-recovery-with-and-without-log-files-is-possible","status":"publish","type":"post","link":"https:\/\/www.mozesoft.com\/blog\/exchange-database-recovery-with-and-without-log-files-is-possible\/","title":{"rendered":"Exchange Database Recovery With and Without Log Files is Possible"},"content":{"rendered":"<p>Transaction log files plays major role in Exchange server, as transaction log is a file that manages entire records for changes that were made into Exchange database. The information that needs to be inserted to a database of mailbox is firstly written in Exchange server transaction log file, and after that information written in Exchange server database. In case any details are not recorded in log file, could result in issue of operation failure. In these condition users are unable to access their mailbox database from EDB files.<\/p>\n<p>In this post users can get the solution about how to <a href=\"https:\/\/www.mozesoft.com\/emailmigration\/exchange-mailbox-recovery.html\">recover database of Exchange server<\/a> with and without log file.<\/p>\n<p><strong>How to Recover Exchange Database with Log file <\/strong><\/p>\n<p>Before stating any process of <a href=\"https:\/\/www.mozesoft.com\/emailmigration\/exchange-mailbox-recovery.html\">Exchange mailbox database recovery<\/a> users need to check the state of EDB database using Eseutil\/mh command<\/p>\n<p>c:\\program files\\exchsrvr\\bin&gt;eseutil \/mh &#8220;drive:\\program files\\exchsrvr\\mdbdata\\priv1.edb<\/p>\n<p>After running above mentioned command if users find the dirty shutdown state of database then recovery of Exchange mailbox database should be first.<\/p>\n<p>There are two ways to recover Exchange Database<\/p>\n<p>a)\u00a0Soft Recovery and<\/p>\n<p>b) Hard Recovery<\/p>\n<p><strong>Now need to replay transaction log file through the Soft and Hard Recovery process <\/strong><\/p>\n<p>A)\u00a0\u00a0\u00a0\u00a0 <strong>Soft Recovery:<\/strong> The procedure of replaying transaction log files when the database is re- mounted on the server which is suffering unexpected halt. In this situation, Exchange Server automatically executes the soft recovery process through any pending transaction log file by reading checkpoint file. If automated procedure doesn&#8217;t get successfully processed, then recovery processed manually using Eseutil commands.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-309 aligncenter\" src=\"http:\/\/www.blog.mozesoft.com\/wp-content\/uploads\/2018\/07\/eseutil-r-enn-2.png\" alt=\"\" width=\"628\" height=\"179\" srcset=\"https:\/\/www.mozesoft.com\/blog\/wp-content\/uploads\/2018\/07\/eseutil-r-enn-2.png 628w, https:\/\/www.mozesoft.com\/blog\/wp-content\/uploads\/2018\/07\/eseutil-r-enn-2-300x86.png 300w, https:\/\/www.mozesoft.com\/blog\/wp-content\/uploads\/2018\/07\/eseutil-r-enn-2-604x172.png 604w\" sizes=\"auto, (max-width: 628px) 100vw, 628px\" \/><\/p>\n<p>B)\u00a0\u00a0\u00a0\u00a0 <strong>Hard Recovery:<\/strong> This procedure is applicable to replay log files through the online backup. If \u201cLast Backup Set\u201d option is enabled then recovery processed automatically. This hard recovery process is different from soft recovery process because it does not required checkpoint file, it required restore.env file for database recovery.<\/p>\n<p><strong>Note:<\/strong> In case \u201cLast Backup Set\u201d option is not enabled while restoring, now users need to manually perform this hard recovery process using Eseutil command.<\/p>\n<p>Now start restoring online backup, once backup is successfully restored then restore.env file will be generated in Temporary folder of the system.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-310 aligncenter\" src=\"http:\/\/www.blog.mozesoft.com\/wp-content\/uploads\/2018\/07\/first-storage-group-3.png\" alt=\"\" width=\"533\" height=\"195\" srcset=\"https:\/\/www.mozesoft.com\/blog\/wp-content\/uploads\/2018\/07\/first-storage-group-3.png 533w, https:\/\/www.mozesoft.com\/blog\/wp-content\/uploads\/2018\/07\/first-storage-group-3-300x110.png 300w\" sizes=\"auto, (max-width: 533px) 100vw, 533px\" \/><\/p>\n<p>Hard recovery can be done with this following syntax, which helps to replay log file in restore.env file against Exchange database<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-311 aligncenter\" src=\"http:\/\/www.blog.mozesoft.com\/wp-content\/uploads\/2018\/07\/eseutil-cc-4.png\" alt=\"\" width=\"606\" height=\"151\" srcset=\"https:\/\/www.mozesoft.com\/blog\/wp-content\/uploads\/2018\/07\/eseutil-cc-4.png 606w, https:\/\/www.mozesoft.com\/blog\/wp-content\/uploads\/2018\/07\/eseutil-cc-4-300x75.png 300w, https:\/\/www.mozesoft.com\/blog\/wp-content\/uploads\/2018\/07\/eseutil-cc-4-604x151.png 604w\" sizes=\"auto, (max-width: 606px) 100vw, 606px\" \/><\/p>\n<p>The recovery task will work only on those databases which are restored from the valid backup; it does not support any recovery process for other Exchange server EDB files.<\/p>\n<p><strong>How to Recover Exchange Database without Log file <\/strong><\/p>\n<p>The above mentioned procedure helps to recover database if database in dirty shutdown state. For soft or hard recovery propose, it is important that users have log files and it\u2019s in healthy state. In case users don\u2019t have log file it can affect recovery.<\/p>\n<ul>\n<li>The replay process will fail when any log file is missing<\/li>\n<li>In case log files are missing the recovery process will be stopped with errors<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-312\" src=\"http:\/\/www.blog.mozesoft.com\/wp-content\/uploads\/2018\/07\/error-5.png\" alt=\"\" width=\"963\" height=\"203\" srcset=\"https:\/\/www.mozesoft.com\/blog\/wp-content\/uploads\/2018\/07\/error-5.png 963w, https:\/\/www.mozesoft.com\/blog\/wp-content\/uploads\/2018\/07\/error-5-300x63.png 300w, https:\/\/www.mozesoft.com\/blog\/wp-content\/uploads\/2018\/07\/error-5-768x162.png 768w, https:\/\/www.mozesoft.com\/blog\/wp-content\/uploads\/2018\/07\/error-5-604x127.png 604w\" sizes=\"auto, (max-width: 963px) 100vw, 963px\" \/><\/p>\n<p>If log file is missing or unavailable even if corrupt, then the database will show above mentioned error. In this case users need to apply repairing process which can be executed with Eseutil\/p command.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-313 aligncenter\" src=\"http:\/\/www.blog.mozesoft.com\/wp-content\/uploads\/2018\/07\/eseutil-p-server-edb-6.png\" alt=\"\" width=\"623\" height=\"81\" srcset=\"https:\/\/www.mozesoft.com\/blog\/wp-content\/uploads\/2018\/07\/eseutil-p-server-edb-6.png 623w, https:\/\/www.mozesoft.com\/blog\/wp-content\/uploads\/2018\/07\/eseutil-p-server-edb-6-300x39.png 300w, https:\/\/www.mozesoft.com\/blog\/wp-content\/uploads\/2018\/07\/eseutil-p-server-edb-6-604x79.png 604w\" sizes=\"auto, (max-width: 623px) 100vw, 623px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Transaction log files plays major role in Exchange server, as transaction log is a file that manages entire records for changes that were made into Exchange database. The information that needs to be inserted to a database of mailbox is firstly written in Exchange server transaction log file, and after that information written in Exchange [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-308","post","type-post","status-publish","format-standard","hentry","category-exchange-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Exchange Database Recovery With and Without Log Files is Possible - Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.mozesoft.com\/blog\/exchange-database-recovery-with-and-without-log-files-is-possible\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Exchange Database Recovery With and Without Log Files is Possible - Blog\" \/>\n<meta property=\"og:description\" content=\"Transaction log files plays major role in Exchange server, as transaction log is a file that manages entire records for changes that were made into Exchange database. The information that needs to be inserted to a database of mailbox is firstly written in Exchange server transaction log file, and after that information written in Exchange [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.mozesoft.com\/blog\/exchange-database-recovery-with-and-without-log-files-is-possible\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog\" \/>\n<meta property=\"article:published_time\" content=\"2018-07-31T17:43:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-06-17T10:39:12+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.blog.mozesoft.com\/wp-content\/uploads\/2018\/07\/eseutil-r-enn-2.png\" \/>\n<meta name=\"author\" content=\"Adsank\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Adsank\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.mozesoft.com\/blog\/exchange-database-recovery-with-and-without-log-files-is-possible\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.mozesoft.com\/blog\/exchange-database-recovery-with-and-without-log-files-is-possible\/\"},\"author\":{\"name\":\"Adsank\",\"@id\":\"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/79fc1ff8cfa9fe3f16bedffefc53359c\"},\"headline\":\"Exchange Database Recovery With and Without Log Files is Possible\",\"datePublished\":\"2018-07-31T17:43:13+00:00\",\"dateModified\":\"2021-06-17T10:39:12+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.mozesoft.com\/blog\/exchange-database-recovery-with-and-without-log-files-is-possible\/\"},\"wordCount\":540,\"image\":{\"@id\":\"https:\/\/www.mozesoft.com\/blog\/exchange-database-recovery-with-and-without-log-files-is-possible\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.blog.mozesoft.com\/wp-content\/uploads\/2018\/07\/eseutil-r-enn-2.png\",\"articleSection\":[\"Exchange Server\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.mozesoft.com\/blog\/exchange-database-recovery-with-and-without-log-files-is-possible\/\",\"url\":\"https:\/\/www.mozesoft.com\/blog\/exchange-database-recovery-with-and-without-log-files-is-possible\/\",\"name\":\"Exchange Database Recovery With and Without Log Files is Possible - Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.mozesoft.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.mozesoft.com\/blog\/exchange-database-recovery-with-and-without-log-files-is-possible\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.mozesoft.com\/blog\/exchange-database-recovery-with-and-without-log-files-is-possible\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.blog.mozesoft.com\/wp-content\/uploads\/2018\/07\/eseutil-r-enn-2.png\",\"datePublished\":\"2018-07-31T17:43:13+00:00\",\"dateModified\":\"2021-06-17T10:39:12+00:00\",\"author\":{\"@id\":\"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/79fc1ff8cfa9fe3f16bedffefc53359c\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.mozesoft.com\/blog\/exchange-database-recovery-with-and-without-log-files-is-possible\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.mozesoft.com\/blog\/exchange-database-recovery-with-and-without-log-files-is-possible\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.mozesoft.com\/blog\/exchange-database-recovery-with-and-without-log-files-is-possible\/#primaryimage\",\"url\":\"http:\/\/www.blog.mozesoft.com\/wp-content\/uploads\/2018\/07\/eseutil-r-enn-2.png\",\"contentUrl\":\"http:\/\/www.blog.mozesoft.com\/wp-content\/uploads\/2018\/07\/eseutil-r-enn-2.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.mozesoft.com\/blog\/exchange-database-recovery-with-and-without-log-files-is-possible\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.mozesoft.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Exchange Database Recovery With and Without Log Files is Possible\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.mozesoft.com\/blog\/#website\",\"url\":\"https:\/\/www.mozesoft.com\/blog\/\",\"name\":\"Blog\",\"description\":\"IT Knowledgebase\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.mozesoft.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/79fc1ff8cfa9fe3f16bedffefc53359c\",\"name\":\"Adsank\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/16e1b860aa1c6c11b188d686f734c33318307888d91fee8cd1550025f1c788a0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/16e1b860aa1c6c11b188d686f734c33318307888d91fee8cd1550025f1c788a0?s=96&d=mm&r=g\",\"caption\":\"Adsank\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Exchange Database Recovery With and Without Log Files is Possible - Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.mozesoft.com\/blog\/exchange-database-recovery-with-and-without-log-files-is-possible\/","og_locale":"en_US","og_type":"article","og_title":"Exchange Database Recovery With and Without Log Files is Possible - Blog","og_description":"Transaction log files plays major role in Exchange server, as transaction log is a file that manages entire records for changes that were made into Exchange database. The information that needs to be inserted to a database of mailbox is firstly written in Exchange server transaction log file, and after that information written in Exchange [&hellip;]","og_url":"https:\/\/www.mozesoft.com\/blog\/exchange-database-recovery-with-and-without-log-files-is-possible\/","og_site_name":"Blog","article_published_time":"2018-07-31T17:43:13+00:00","article_modified_time":"2021-06-17T10:39:12+00:00","og_image":[{"url":"http:\/\/www.blog.mozesoft.com\/wp-content\/uploads\/2018\/07\/eseutil-r-enn-2.png","type":"","width":"","height":""}],"author":"Adsank","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Adsank","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.mozesoft.com\/blog\/exchange-database-recovery-with-and-without-log-files-is-possible\/#article","isPartOf":{"@id":"https:\/\/www.mozesoft.com\/blog\/exchange-database-recovery-with-and-without-log-files-is-possible\/"},"author":{"name":"Adsank","@id":"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/79fc1ff8cfa9fe3f16bedffefc53359c"},"headline":"Exchange Database Recovery With and Without Log Files is Possible","datePublished":"2018-07-31T17:43:13+00:00","dateModified":"2021-06-17T10:39:12+00:00","mainEntityOfPage":{"@id":"https:\/\/www.mozesoft.com\/blog\/exchange-database-recovery-with-and-without-log-files-is-possible\/"},"wordCount":540,"image":{"@id":"https:\/\/www.mozesoft.com\/blog\/exchange-database-recovery-with-and-without-log-files-is-possible\/#primaryimage"},"thumbnailUrl":"http:\/\/www.blog.mozesoft.com\/wp-content\/uploads\/2018\/07\/eseutil-r-enn-2.png","articleSection":["Exchange Server"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.mozesoft.com\/blog\/exchange-database-recovery-with-and-without-log-files-is-possible\/","url":"https:\/\/www.mozesoft.com\/blog\/exchange-database-recovery-with-and-without-log-files-is-possible\/","name":"Exchange Database Recovery With and Without Log Files is Possible - Blog","isPartOf":{"@id":"https:\/\/www.mozesoft.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.mozesoft.com\/blog\/exchange-database-recovery-with-and-without-log-files-is-possible\/#primaryimage"},"image":{"@id":"https:\/\/www.mozesoft.com\/blog\/exchange-database-recovery-with-and-without-log-files-is-possible\/#primaryimage"},"thumbnailUrl":"http:\/\/www.blog.mozesoft.com\/wp-content\/uploads\/2018\/07\/eseutil-r-enn-2.png","datePublished":"2018-07-31T17:43:13+00:00","dateModified":"2021-06-17T10:39:12+00:00","author":{"@id":"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/79fc1ff8cfa9fe3f16bedffefc53359c"},"breadcrumb":{"@id":"https:\/\/www.mozesoft.com\/blog\/exchange-database-recovery-with-and-without-log-files-is-possible\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.mozesoft.com\/blog\/exchange-database-recovery-with-and-without-log-files-is-possible\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mozesoft.com\/blog\/exchange-database-recovery-with-and-without-log-files-is-possible\/#primaryimage","url":"http:\/\/www.blog.mozesoft.com\/wp-content\/uploads\/2018\/07\/eseutil-r-enn-2.png","contentUrl":"http:\/\/www.blog.mozesoft.com\/wp-content\/uploads\/2018\/07\/eseutil-r-enn-2.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.mozesoft.com\/blog\/exchange-database-recovery-with-and-without-log-files-is-possible\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.mozesoft.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Exchange Database Recovery With and Without Log Files is Possible"}]},{"@type":"WebSite","@id":"https:\/\/www.mozesoft.com\/blog\/#website","url":"https:\/\/www.mozesoft.com\/blog\/","name":"Blog","description":"IT Knowledgebase","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.mozesoft.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/79fc1ff8cfa9fe3f16bedffefc53359c","name":"Adsank","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/16e1b860aa1c6c11b188d686f734c33318307888d91fee8cd1550025f1c788a0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/16e1b860aa1c6c11b188d686f734c33318307888d91fee8cd1550025f1c788a0?s=96&d=mm&r=g","caption":"Adsank"}}]}},"_links":{"self":[{"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/posts\/308","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/comments?post=308"}],"version-history":[{"count":2,"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/posts\/308\/revisions"}],"predecessor-version":[{"id":1051,"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/posts\/308\/revisions\/1051"}],"wp:attachment":[{"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/media?parent=308"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/categories?post=308"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/tags?post=308"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}