{"id":361,"date":"2014-11-19T00:19:52","date_gmt":"2014-11-19T00:19:52","guid":{"rendered":"https:\/\/kinglou.itgroove.net\/?p=361"},"modified":"2023-02-24T21:39:51","modified_gmt":"2023-02-24T21:39:51","slug":"post-exchange-mailbox-database-cleanup-after-migration-to-office-365","status":"publish","type":"post","link":"https:\/\/regroove.ca\/archive\/2014\/11\/19\/post-exchange-mailbox-database-cleanup-after-migration-to-office-365\/","title":{"rendered":"Post Exchange mailbox database cleanup after migration to Office 365"},"content":{"rendered":"<h4>Post Exchange mailbox database cleanup to Office 365<\/h4>\n<p>My initial issue was thus. I had done a cut migration from Exchange 2013 to Office 365. Everything was working fine and I had kept my existing server intact to be used in conjunction with DirSync for a Hybrid solution. The existing on premises server was still using up considerable drive space for the\u00a0<strong>EDB<\/strong>\u00a0files and I was backing up this considerable data daily. Every article I read on\u00a0post migration cleanup never did seam to mention what to do with the remaining data. They would say to either decommission the Exchange server or leave it alone as the Hybrid\/DirSync combo. No mention of any cleanup of the old data.<\/p>\n<p>The answer in the end was pretty simple and I&#8217;m actually a little embarrassed it took me so long to figure it out.<\/p>\n<p>I logged into the on premises Exchange Server and ran the\u00a0<strong>Exchange Management Shell<\/strong>. From there I checked out the databases to see how much white space they had.<\/p>\n<p><em><strong>Get-MailboxDatabase -Status | ft name,databasesize,availablenewmailboxspace -auto<\/strong><\/em><\/p>\n<p>The\u00a0<strong>AvailableNewMailboxSpace<\/strong>\u00a0showed me embarrassingly that my databases were mostly white space&#8230;<\/p>\n<p><a href=\"https:\/\/regroove.ca\/archive\/wp-content\/uploads\/sites\/6\/2014\/11\/el1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-362 size-full\" src=\"https:\/\/regroove.ca\/archive\/wp-content\/uploads\/sites\/6\/2014\/11\/el1.jpg\" alt=\"Post Exchange mailbox database cleanup\" width=\"885\" height=\"188\" srcset=\"https:\/\/regroove.ca\/archive\/wp-content\/uploads\/sites\/6\/2014\/11\/el1.jpg 885w, https:\/\/regroove.ca\/archive\/wp-content\/uploads\/sites\/6\/2014\/11\/el1-300x64.jpg 300w, https:\/\/regroove.ca\/archive\/wp-content\/uploads\/sites\/6\/2014\/11\/el1-768x163.jpg 768w\" sizes=\"(max-width: 885px) 100vw, 885px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>To release the white space I logged into the\u00a0<strong>Exchange Admin Center -&gt; Servers -&gt; Databases<\/strong>\u00a0&amp; dismounted the databases.<\/p>\n<p>Then from the shell I navigated to the folder containing the databases and ran\u00a0<strong>ESEUtil<\/strong>\u00a0to defrag each one.<\/p>\n<p><em><strong>eseutil \/d &#8220;databasename.edb&#8221;<\/strong><\/em><\/p>\n<p style=\"text-align: justify\"><a href=\"https:\/\/regroove.ca\/archive\/wp-content\/uploads\/sites\/6\/2014\/11\/el2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-363\" src=\"http:\/\/kinglou.itgroove.net\/wp-content\/uploads\/sites\/11\/2014\/11\/el2.jpg\" alt=\"el2\" width=\"968\" height=\"210\" srcset=\"https:\/\/regroove.ca\/archive\/wp-content\/uploads\/sites\/6\/2014\/11\/el2.jpg 968w, https:\/\/regroove.ca\/archive\/wp-content\/uploads\/sites\/6\/2014\/11\/el2-300x65.jpg 300w, https:\/\/regroove.ca\/archive\/wp-content\/uploads\/sites\/6\/2014\/11\/el2-768x167.jpg 768w\" sizes=\"(max-width: 968px) 100vw, 968px\" \/><\/a><\/p>\n<p>After that I mounted the databases back up, turned on circular logging and my Exchange server drives were now nice and trim! Just make sure you have enough drive space to perform the defrag as it creates a new file temporarily.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Post Exchange mailbox database cleanup to Office 365 My initial issue was thus. I had done a cut migration from Exchange 2013 to Office 365. Everything was working fine and I had kept my existing server intact to be used in conjunction with DirSync for a Hybrid solution. The existing on premises server was still &hellip; <a href=\"https:\/\/regroove.ca\/archive\/2014\/11\/19\/post-exchange-mailbox-database-cleanup-after-migration-to-office-365\/\"><\/a><\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[231,247],"tags":[386,122,453,482,484],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Post Exchange mailbox database cleanup after migration to Office 365 - Archive<\/title>\n<meta name=\"description\" content=\"Post Exchange mailbox database cleanup\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/regroove.ca\/archive\/2014\/11\/19\/post-exchange-mailbox-database-cleanup-after-migration-to-office-365\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Post Exchange mailbox database cleanup after migration to Office 365 - Archive\" \/>\n<meta property=\"og:description\" content=\"Post Exchange mailbox database cleanup\" \/>\n<meta property=\"og:url\" content=\"https:\/\/regroove.ca\/archive\/2014\/11\/19\/post-exchange-mailbox-database-cleanup-after-migration-to-office-365\/\" \/>\n<meta property=\"og:site_name\" content=\"Archive\" \/>\n<meta property=\"article:published_time\" content=\"2014-11-19T00:19:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-24T21:39:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/regroove.ca\/archive\/wp-content\/uploads\/sites\/6\/2014\/11\/el1.jpg\" \/>\n<meta name=\"author\" content=\"Sean Wallbridge\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sean Wallbridge\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/regroove.ca\/archive\/2014\/11\/19\/post-exchange-mailbox-database-cleanup-after-migration-to-office-365\/\",\"url\":\"https:\/\/regroove.ca\/archive\/2014\/11\/19\/post-exchange-mailbox-database-cleanup-after-migration-to-office-365\/\",\"name\":\"Post Exchange mailbox database cleanup after migration to Office 365 - Archive\",\"isPartOf\":{\"@id\":\"https:\/\/regroove.ca\/archive\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/regroove.ca\/archive\/2014\/11\/19\/post-exchange-mailbox-database-cleanup-after-migration-to-office-365\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/regroove.ca\/archive\/2014\/11\/19\/post-exchange-mailbox-database-cleanup-after-migration-to-office-365\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/regroove.ca\/archive\/wp-content\/uploads\/sites\/6\/2014\/11\/el1.jpg\",\"datePublished\":\"2014-11-19T00:19:52+00:00\",\"dateModified\":\"2023-02-24T21:39:51+00:00\",\"author\":{\"@id\":\"https:\/\/regroove.ca\/archive\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77\"},\"description\":\"Post Exchange mailbox database cleanup\",\"breadcrumb\":{\"@id\":\"https:\/\/regroove.ca\/archive\/2014\/11\/19\/post-exchange-mailbox-database-cleanup-after-migration-to-office-365\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/regroove.ca\/archive\/2014\/11\/19\/post-exchange-mailbox-database-cleanup-after-migration-to-office-365\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/regroove.ca\/archive\/2014\/11\/19\/post-exchange-mailbox-database-cleanup-after-migration-to-office-365\/#primaryimage\",\"url\":\"https:\/\/regroove.ca\/archive\/wp-content\/uploads\/sites\/6\/2014\/11\/el1.jpg\",\"contentUrl\":\"https:\/\/regroove.ca\/archive\/wp-content\/uploads\/sites\/6\/2014\/11\/el1.jpg\",\"width\":885,\"height\":188},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/regroove.ca\/archive\/2014\/11\/19\/post-exchange-mailbox-database-cleanup-after-migration-to-office-365\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog Archive\",\"item\":\"https:\/\/regroove.ca\/archive\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Post Exchange mailbox database cleanup after migration to Office 365\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/regroove.ca\/archive\/#website\",\"url\":\"https:\/\/regroove.ca\/archive\/\",\"name\":\"Archive\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/regroove.ca\/archive\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/regroove.ca\/archive\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77\",\"name\":\"Sean Wallbridge\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/regroove.ca\/archive\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g\",\"caption\":\"Sean Wallbridge\"},\"url\":\"https:\/\/regroove.ca\/archive\/author\/swallbridge\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Post Exchange mailbox database cleanup after migration to Office 365 - Archive","description":"Post Exchange mailbox database cleanup","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:\/\/regroove.ca\/archive\/2014\/11\/19\/post-exchange-mailbox-database-cleanup-after-migration-to-office-365\/","og_locale":"en_US","og_type":"article","og_title":"Post Exchange mailbox database cleanup after migration to Office 365 - Archive","og_description":"Post Exchange mailbox database cleanup","og_url":"https:\/\/regroove.ca\/archive\/2014\/11\/19\/post-exchange-mailbox-database-cleanup-after-migration-to-office-365\/","og_site_name":"Archive","article_published_time":"2014-11-19T00:19:52+00:00","article_modified_time":"2023-02-24T21:39:51+00:00","og_image":[{"url":"https:\/\/regroove.ca\/archive\/wp-content\/uploads\/sites\/6\/2014\/11\/el1.jpg"}],"author":"Sean Wallbridge","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Sean Wallbridge","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/regroove.ca\/archive\/2014\/11\/19\/post-exchange-mailbox-database-cleanup-after-migration-to-office-365\/","url":"https:\/\/regroove.ca\/archive\/2014\/11\/19\/post-exchange-mailbox-database-cleanup-after-migration-to-office-365\/","name":"Post Exchange mailbox database cleanup after migration to Office 365 - Archive","isPartOf":{"@id":"https:\/\/regroove.ca\/archive\/#website"},"primaryImageOfPage":{"@id":"https:\/\/regroove.ca\/archive\/2014\/11\/19\/post-exchange-mailbox-database-cleanup-after-migration-to-office-365\/#primaryimage"},"image":{"@id":"https:\/\/regroove.ca\/archive\/2014\/11\/19\/post-exchange-mailbox-database-cleanup-after-migration-to-office-365\/#primaryimage"},"thumbnailUrl":"https:\/\/regroove.ca\/archive\/wp-content\/uploads\/sites\/6\/2014\/11\/el1.jpg","datePublished":"2014-11-19T00:19:52+00:00","dateModified":"2023-02-24T21:39:51+00:00","author":{"@id":"https:\/\/regroove.ca\/archive\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77"},"description":"Post Exchange mailbox database cleanup","breadcrumb":{"@id":"https:\/\/regroove.ca\/archive\/2014\/11\/19\/post-exchange-mailbox-database-cleanup-after-migration-to-office-365\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/regroove.ca\/archive\/2014\/11\/19\/post-exchange-mailbox-database-cleanup-after-migration-to-office-365\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/regroove.ca\/archive\/2014\/11\/19\/post-exchange-mailbox-database-cleanup-after-migration-to-office-365\/#primaryimage","url":"https:\/\/regroove.ca\/archive\/wp-content\/uploads\/sites\/6\/2014\/11\/el1.jpg","contentUrl":"https:\/\/regroove.ca\/archive\/wp-content\/uploads\/sites\/6\/2014\/11\/el1.jpg","width":885,"height":188},{"@type":"BreadcrumbList","@id":"https:\/\/regroove.ca\/archive\/2014\/11\/19\/post-exchange-mailbox-database-cleanup-after-migration-to-office-365\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Archive","item":"https:\/\/regroove.ca\/archive\/"},{"@type":"ListItem","position":2,"name":"Post Exchange mailbox database cleanup after migration to Office 365"}]},{"@type":"WebSite","@id":"https:\/\/regroove.ca\/archive\/#website","url":"https:\/\/regroove.ca\/archive\/","name":"Archive","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/regroove.ca\/archive\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/regroove.ca\/archive\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77","name":"Sean Wallbridge","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/regroove.ca\/archive\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g","caption":"Sean Wallbridge"},"url":"https:\/\/regroove.ca\/archive\/author\/swallbridge\/"}]}},"_links":{"self":[{"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/posts\/361"}],"collection":[{"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/comments?post=361"}],"version-history":[{"count":1,"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/posts\/361\/revisions"}],"predecessor-version":[{"id":2848,"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/posts\/361\/revisions\/2848"}],"wp:attachment":[{"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/media?parent=361"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/categories?post=361"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/tags?post=361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}