{"id":33,"date":"2023-03-19T07:47:07","date_gmt":"2023-03-19T06:47:07","guid":{"rendered":"http:\/\/10.4.44.99:10084\/?p=33"},"modified":"2023-03-19T07:47:07","modified_gmt":"2023-03-19T06:47:07","slug":"microsoft-exchange-2010-shell-offline-defragment","status":"publish","type":"post","link":"https:\/\/www.winni.at\/wordpress\/?p=33","title":{"rendered":"Microsoft Exchange 2010 | Shell | Offline Defragment"},"content":{"rendered":"\n<p>First of all!<\/p>\n\n\n\n<p><strong>! BACKUP&nbsp;ALL DATABASES !<\/strong><\/p>\n\n\n\n<p>1.)&nbsp;Get Whitespace &#8211;&gt;&nbsp;<a href=\"https:\/\/www.winni.at\/index.php\/de\/11-kb\/73-microsoft-exchange-2010-shell-whitspace-usage\">Microsoft Exchange 2010 | Shell | Whitspace usage<\/a><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>MailboxDB:Get-MailboxDatabase -Status | ft name,databasesize,availablenewmailboxspace -auto\n<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>PublicFolderDB:Get-PublicFolderDatabase -Status | ft name,databasesize,availablenewmailboxspace -auto\n<\/code><\/pre>\n\n\n\n<p>2.) Unmount Datenbank<\/p>\n\n\n\n<p>&#8211; Go into the directory from the database<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Dismount-Database DATENBANKNAME\n<\/code><\/pre>\n\n\n\n<p>3.) Check database of proper shutdown<\/p>\n\n\n\n<p>&#8211;&nbsp;Go into the directory from the database<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>eseutil \/MH \"DATABASENAME.EDB\"\n<\/code><\/pre>\n\n\n\n<p>&#8211; State&nbsp;should be &#8220;Clean Shutdown&#8221;<\/p>\n\n\n\n<p>4.) Database defragment<\/p>\n\n\n\n<p>z.B.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>I:\\Gruppe&gt;eseutil \/d Gruppe.edb \/t\\\\testserver\\defrag\\temp.edb\n<\/code><\/pre>\n\n\n\n<p>&#8211; After \/t NO SPACE!<\/p>\n\n\n\n<p>&#8211; \/d = Defragment<\/p>\n\n\n\n<p>&#8211; \/t = Defragmented Database will be moved automatically to source place<\/p>\n\n\n\n<p>5.) Database mount<\/p>\n\n\n\n<p>&#8211;&nbsp;Go into the directory from the database<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mount-Database DATABASENAME\n<\/code><\/pre>\n\n\n\n<p>6.) BACKUP DATABASES because DB contains a news signature!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>First of all! ! BACKUP&nbsp;ALL DATABASES ! 1.)&nbsp;Get Whitespace &#8211;&gt;&nbsp;Microsoft Exchange 2010 | Shell | Whitspace usage 2.) Unmount Datenbank<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_container_layout":"default_layout","colormag_page_sidebar_layout":"default_layout","footnotes":""},"categories":[3],"tags":[76,77,78,136,142],"class_list":["post-33","post","type-post","status-publish","format-standard","hentry","category-kb","tag-exchange-database","tag-exchange-database-defragment","tag-exchange-defragment","tag-microsoft","tag-microsoft-exchange"],"_links":{"self":[{"href":"https:\/\/www.winni.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/33","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.winni.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.winni.at\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.winni.at\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.winni.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=33"}],"version-history":[{"count":0,"href":"https:\/\/www.winni.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/33\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winni.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=33"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winni.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=33"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winni.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=33"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}