{"id":584,"date":"2012-02-08T13:41:16","date_gmt":"2012-02-08T10:41:16","guid":{"rendered":"http:\/\/www.hakancakiroglu.com\/wordpress\/?p=584"},"modified":"2012-02-09T12:57:20","modified_gmt":"2012-02-09T09:57:20","slug":"exchange-2010-mailbox-kurtarma","status":"publish","type":"post","link":"https:\/\/www.hakancakiroglu.com\/wordpress\/?p=584","title":{"rendered":"Exchange 2010 Mailbox Kurtarma"},"content":{"rendered":"<p>Ortam\u0131n\u0131zda Exchange 2010 varsa ve mailbox databaselerinin yede\u011fini al\u0131yorsan\u0131z eninde sonunda bir g\u00fcn mailboxlar\u0131n eski hallerine d\u00f6nmek zorunda kalacaks\u0131n\u0131zd\u0131r. \u00d6rne\u011fin Contacts&#8217;lar\u0131n\u0131 kaybetmi\u015f ya da yanl\u0131\u015fl\u0131kla silmi\u015f \u00fcst d\u00fczey bir y\u00f6netici i\u00e7in bu silinen contacts&#8217;lar\u0131n de\u011feri \u015firket i\u00e7in son derece de\u011ferli ve kritik olabilir. Exchange 2010 Single mailbox backup alan bir \u00e7\u00f6z\u00fcm\u00fcnz yoksa tek se\u00e7enek yede\u011fini ald\u0131\u011f\u0131n\u0131z mailbox database&#8217;yi restore ederek sisteminize Restore Mailbox olarak mount etmek ve mailbox\u0131 yede\u011fi ald\u0131\u011f\u0131n\u0131z tarihe geri d\u00f6nd\u00fcrmek olacakt\u0131r. Bu i\u015flemi canl\u0131 sistemde yapmak riskli olaca\u011f\u0131ndan test otam\u0131nda yapmak en mant\u0131kl\u0131 ve do\u011fru se\u00e7im olacakt\u0131r.<\/p>\n<p>K\u0131saca yapaca\u011f\u0131m\u0131z i\u015flemler, yede\u011fi al\u0131nm\u0131\u015f bir mailbox veritaban\u0131n\u0131 yedekten d\u00f6nerek Exchange ve AD kurdu\u011fumuz bir test ortam\u0131nda sisteme mount ederek ilgili ki\u015finin mailboxunu yeni olu\u015fturulan test sisteminde olu\u015fturulan yeni kullan\u0131c\u0131n\u0131n mailboxuna restore edilmesi ve bu restore edilmi\u015f mailboxun pst dosyas\u0131na aktar\u0131lmas\u0131 olarak \u00f6zetlenebilir.<!--more--><\/p>\n<p>&nbsp;<\/p>\n<p>Bu durumda,\u00a0 a\u015fa\u011f\u0131daki maddelere dikkat etmeniz durumunda restore i\u015flemini test ortam\u0131n\u0131zda sorunsuz \u015fekilde tamamlayabilirsiniz.<\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #ff0000;\">1 &#8211;<\/span><\/strong> Windows 2008 64 Bit R2 \u0130\u015fletim Sistemi kurulmu\u015f bir sunucu<\/p>\n<p>(Ben HyperV \u00fczerinde bir sanal makinay\u0131 tercih ettim. )<\/p>\n<p><strong><span style=\"color: #ff0000;\">2 &#8211;<\/span><\/strong> Active Directory rol\u00fc yap\u0131land\u0131rmas\u0131(E\u011fer bu makina ayn\u0131 network ortam\u0131nda olacaksa kesinlikle domain ad\u0131n\u0131 ortam\u0131n\u0131zdakinden farkl\u0131 se\u00e7melisiniz.)<\/p>\n<p><strong><span style=\"color: #ff0000;\">3 &#8211;<\/span><\/strong> &#8220;Exchange 2010 with SP1&#8221; kurulumu tamamlanm\u0131\u015f bir sunucu. (Standart kurulum &#8211; Mailbox,Hub Transport,Client Access Rolleri)<\/p>\n<p>(AD ile ayn\u0131 sunucuyu kullanabilirsiniz fakat bunun i\u00e7in kurulum esnas\u0131nda Apply Active Directory Split Permissions Security Model kutucugunu <strong>i\u015faretlememelisiniz<\/strong>. Ayn\u0131 zamanda \u015fu hotfixlere ihtiyac\u0131n\u0131z olacak :<strong> Windows6.1-KB979744-v2-x64, Windows6.1-KB982867-v2-x64, Windows6.1-KB983440-x64.<\/strong>\u00a0 Daha fazla bilgiyi kurulum esnas\u0131nda alabilirsiniz)<\/p>\n<p>Bu a\u015famada Exchange ilk kuruldu\u011funda sanal makina kullan\u0131yorsan\u0131z snapshot alman\u0131z faydal\u0131 olacakt\u0131r.<\/p>\n<p><strong><span style=\"color: #ff0000;\">4 &#8211;<\/span><\/strong> Yede\u011fini ald\u0131\u011f\u0131n\u0131z mailbox veritaban\u0131n\u0131 restore ederek bu sanal makina \u00fczerine kopyalamal\u0131s\u0131n\u0131z. Bu a\u015famada dikkat etmeniz gereken konu, sanal makina \u00fczerinde storage alan\u0131 olarak kulland\u0131\u011f\u0131n\u0131z hdd&#8217;nin \u00fczerindeki bo\u015f alan\u0131n, mailbox database&#8217;nin boyutunun en az 2 kat\u0131 kadar olmas\u0131 gerekti\u011fidir. Ayr\u0131ca yede\u011finiz sadece .edb dosyas\u0131n\u0131 de\u011fil ilgili veritaban\u0131n\u0131n log dosyalar\u0131n\u0131 da i\u00e7ermelidir.<\/p>\n<p>(Benim kulland\u0131\u011f\u0131m dizinler <strong>Mailbox Dizini:<\/strong> c:\\mailbox\\rdb.edb,<strong>Log Dizini :<\/strong> c:\\mailbox\\logs\u00a0 )<\/p>\n<p><strong><span style=\"color: #ff0000;\">5 &#8211;<\/span><\/strong> Yeni test sunucumuz \u00fczerine kopyalad\u0131\u011f\u0131m\u0131z mailbox veritaban\u0131n\u0131 Restore Db olarak sisteme tan\u0131tal\u0131m.<\/p>\n<p>Bunun i\u00e7in a\u015fa\u011f\u0131daki komutu kullanarak veritaban\u0131n\u0131 sisteme restore db olarak tan\u0131tabiliriz.<\/p>\n<pre> New-MailboxDatabase -Recovery -Name RDB\r\n-Server [Exchange sunucunuzun ad\u0131 : ornek EXCHSRV]\r\n-EdbFilePath \"[Mailbox DB Pathi : ornek c:\\mailbox\\rdb.rdb]\"\r\n-LogFolderPath \"Mailbox DB'nin loglar\u0131n\u0131n pathi : ornek c:\\mailbox\\logs\"\r\n\r\n<a href=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch1.png\"><img loading=\"lazy\" class=\"alignleft size-full wp-image-591\" title=\"exch1\" src=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch1.png\" alt=\"\" width=\"969\" height=\"228\" srcset=\"https:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch1.png 969w, https:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch1-300x70.png 300w\" sizes=\"(max-width: 969px) 100vw, 969px\" \/><\/a><\/pre>\n<p>Hata ile kar\u015f\u0131la\u015fmad\u0131ysan\u0131z Exchange Management Console -&gt; Organization Configuration -&gt; Mailbox alt\u0131nda RDB ad\u0131nda dismount edilmi\u015f \u015fekilde yeni bir mailbox database g\u00f6r\u00fcyor olmal\u0131s\u0131n\u0131z. (G\u00f6rm\u00fcyorsan\u0131z bu ekran\u0131 refresh yapmak i\u015fe yarayacakt\u0131r.)<\/p>\n<p><a href=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch2.png\"><img loading=\"lazy\" class=\"alignleft size-full wp-image-593\" title=\"exch2\" src=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch2.png\" alt=\"\" width=\"744\" height=\"183\" srcset=\"https:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch2.png 744w, https:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch2-300x73.png 300w\" sizes=\"(max-width: 744px) 100vw, 744px\" \/><\/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><strong><span style=\"color: #ff0000;\">6 &#8211;<\/span><\/strong> \u015eimdi gelelim bu RDB&#8217;nin dismount konumdan mount konuma getirilmesine. Bu durumdayken monut etmek istedi\u011finizde hata ile kar\u015f\u0131la\u015facaks\u0131n\u0131z. Sebebi DB&#8217;nin &#8220;Dirty Shutdown&#8221; olarak i\u015faretlenmi\u015f olmas\u0131 ve yeni kurdu\u011fumuz AD \u00fczerinde LegacyDN de\u011ferinin canl\u0131 sistemdeki LegacyDN de\u011feri ile ayn\u0131 olmamas\u0131.<\/p>\n<p>\u00d6celikle RDB&#8217;mizi &#8220;Clean Shutdown&#8221; konumuna getirelim.<\/p>\n<p>RDB&#8217;nin clean ya da dirty olup olmad\u011f\u0131n\u0131 \u015fu komut ile kontrol edebilirsiniz<\/p>\n<pre>eseutil \/mh [Mailbox DB'sinin pathi] - ornek : eseutil.exe c:\\mailbox\\rdb.edb]<\/pre>\n<p><a href=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch3.jpg\"><img loading=\"lazy\" class=\"alignleft size-full wp-image-594\" title=\"exch3\" src=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch3.jpg\" alt=\"\" width=\"618\" height=\"70\" srcset=\"https:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch3.jpg 618w, https:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch3-300x33.jpg 300w\" sizes=\"(max-width: 618px) 100vw, 618px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Dirty Shutddown konumundaki bir DB&#8217;yi a\u015fa\u011f\u0131daki komut ile Clean Shutdown konumuna getirebilirsiniz<\/p>\n<pre>eseutil.exe \/r [log ad\u0131 on eki]\r\n\u00a0\/l [log pathi]\r\n\u00a0\/d [DB pathi]\r\n ornek : eseutil.exe \/r \"E00\"\r\n\/l \"C:\\2011-12-23-20\\G\\VIPP\"\r\n\/d \"C:\\2011-12-23-20\\K\\VIP\\vip.edb\"<\/pre>\n<p><a href=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch4.png\"><img loading=\"lazy\" class=\"alignleft  wp-image-595\" title=\"exch4\" src=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch4-1024x347.png\" alt=\"\" width=\"1024\" height=\"347\" srcset=\"https:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch4-1024x347.png 1024w, https:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch4-300x101.png 300w, https:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch4.png 1044w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/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>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>E\u011fer eseutil \/r \/l \/d komutu i\u015fe yaramad\u0131ysa daha uzun s\u00fcren ve repair edemedi\u011fi yerleri silerek i\u015fleme devam edebilen bir parametre olan \/p parametresi kullan\u0131labilir.<\/p>\n<p>eseutil.exe \/p [Mailbox Database Pathi] &#8211; ornek eseutil.exe \/p &#8220;C:\\2011-12-23-20\\K\\VIP\\vip.edb&#8221;<\/p>\n<p>Bu durumda yukar\u0131daki i\u015flem bitti\u011finde Databasenin durumunu kontrol etti\u011finizde &#8220;Clean Shutdown&#8221; durumuna geldi\u011fini g\u00f6rmelisiniz.<\/p>\n<p><a href=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch5.jpg\"><img loading=\"lazy\" class=\"alignleft size-full wp-image-596\" title=\"exch5\" src=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch5.jpg\" alt=\"\" width=\"585\" height=\"75\" srcset=\"https:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch5.jpg 585w, https:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch5-300x38.jpg 300w\" sizes=\"(max-width: 585px) 100vw, 585px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Bu durumdayken de sisteme Db&#8217;yi mount etmeye \u00e7al\u0131\u015ft\u0131\u011f\u0131m\u0131zda hata verecektir. Bu hatay\u0131 gidermenin yolu adsi.edit ile Exchange i\u00e7in kullan\u0131lan legacydn de\u011ferini var olan canl\u0131 sistemde kulland\u0131\u011f\u0131n\u0131z de\u011fer ile de\u011fi\u015ftirmekle \u00e7\u00f6z\u00fclecektir.<\/p>\n<p>\u00c7al\u0131\u015ft\u0131r&#8217;a &#8220;adsi&#8221; yaz\u0131n ve adsi.edit program\u0131n\u0131 bularak \u00e7al\u0131\u015ft\u0131r\u0131n. Gelen ekranda Action -&gt; Connect To yolunu izleyerek\u00a0 Select a well known naming context olarak &#8220;Configuration&#8221; se\u00e7erek OK butonuna bas\u0131n<\/p>\n<p><a href=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch6.png\"><img loading=\"lazy\" class=\"alignleft size-full wp-image-597\" title=\"exch6\" src=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch6.png\" alt=\"\" width=\"884\" height=\"589\" srcset=\"https:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch6.png 884w, https:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch6-300x199.png 300w\" sizes=\"(max-width: 884px) 100vw, 884px\" \/> <\/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>&nbsp;<\/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>&nbsp;<\/p>\n<p><a href=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch7.png\"><img loading=\"lazy\" class=\"alignleft  wp-image-598\" title=\"exch7\" src=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch7.png\" alt=\"\" width=\"232\" height=\"410\" srcset=\"https:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch7.png 327w, https:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch7-170x300.png 170w\" sizes=\"(max-width: 232px) 100vw, 232px\" \/><\/a>Gelen menude Default Naming Context -&gt; CN=Configuration&#8230;. -&gt; CN=Services -&gt; CN=Microsoft Exchange alt\u0131nda <strong>&#8220;CN=First Organization&#8221;<\/strong> de\u011ferine sa\u011f t\u0131klayarak properties sayfas\u0131na gelin ve <strong>legacyexchangedn<\/strong> de\u011ferini bularak &#8220;Edit&#8221; butonuna bas\u0131n ve buradaki de\u011feri canl\u0131 sisteminizdeki ayn\u0131 alandaki de\u011fer ile de\u011fi\u015ftirin. De\u011ferin ba\u015f\u0131nda bulunan <span style=\"color: #ff0000;\"><strong>\/o=<\/strong><\/span> de\u011feri de mutlaka ayn\u0131 \u015fekilde yeni de\u011ferde de girilmelidir. Ayn\u0131 \u015fekilde yine<strong> &#8220;CN=First Organization&#8221;<\/strong> de\u011ferine sa\u011f t\u0131klayarak <strong><span style=\"color: #ff0000;\">rename<\/span><\/strong> se\u00e7ene\u011fi ile bu de\u011feri canl\u0131 sisteminizdeki de\u011fer ile g\u00fcncelleyin.<br \/>\n<a href=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch8.png\"><img loading=\"lazy\" class=\"wp-image-599 alignright\" title=\"exch8\" src=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch8.png\" alt=\"\" width=\"272\" height=\"298\" srcset=\"https:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch8.png 406w, https:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch8-273x300.png 273w\" sizes=\"(max-width: 272px) 100vw, 272px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Bu de\u011fer haricinde asl\u0131nda sistemde de\u011fi\u015ftirmemiz gereken birka\u00e7 legacyexchangedn de\u011feri daha var.<\/p>\n<p><a href=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch9.png\"><img loading=\"lazy\" class=\"alignright  wp-image-606\" title=\"exch9\" src=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch9.png\" alt=\"\" width=\"427\" height=\"286\" \/><\/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>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #000000;\">Bu de\u011ferler ;<\/span><span style=\"color: #ff0000;\"> Cn=Configuration &#8230; -&gt; CN=Services -&gt;CN=Microsoft Exchange -&gt; CN=Administrative Groups alt\u0131nda bulunan<\/span><\/p>\n<p><strong>1-CN=Databases-&gt;CN=RDB<\/strong><\/p>\n<p><strong>2-CN=Servers-&gt;CN=[Server-Ad\u0131]<\/strong><\/p>\n<p><strong>3-CN=Servers -&gt; CN=[Server-Ad\u0131] -&gt;CN=Microsoft MTA<\/strong><\/p>\n<p><strong>4-CN=Servers-&gt;CN=[Server-Ad\u0131] -&gt; CN=Microsoft System Attendant<\/strong><\/p>\n<p>Yukar\u0131 belirtti\u011fim de\u011ferlerin properties ekran\u0131nda bulunan legacyexchangedn de\u011fi\u015fkeni canl\u0131 sistemdeki de\u011feri ile ayn\u0131 olacak \u015fekilde de\u011fi\u015ftirilmeli.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Bu de\u011fi\u015fiklikleri yapt\u0131ktan sonra mailbox databaseyi mount etmeyi denemeden \u00f6nce sunucuyu restart ediyoruz.<\/p>\n<p><a href=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch1.png\"><img loading=\"lazy\" class=\"alignright size-full wp-image-591\" title=\"exch1\" src=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch1.png\" alt=\"\" width=\"969\" height=\"228\" srcset=\"https:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch1.png 969w, https:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch1-300x70.png 300w\" sizes=\"(max-width: 969px) 100vw, 969px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>T\u00fcm bu de\u011fi\u015fikliklerden sonra art\u0131k RDB veritaban\u0131n\u0131 sisteme mount edebiliyor olmal\u0131s\u0131n\u0131z. Exchange ilk kuruldu\u011funda kurulumla\u00a0 gelen mailbox restart sonras\u0131 dismount konumunda gelecektir \u00e7\u00fcnk\u00fc legacyexchangedn de\u011fi\u015fkeninde yapt\u0131\u011f\u0131m\u0131z de\u011fi\u015fiklik bu veritaban\u0131n\u0131n mount olmamas\u0131na sebep oluyor. Bu durumda yeni bir vertaban\u0131 olu\u015fturmal\u0131y\u0131z ve bu olu\u015fturdu\u011fumuz veritaban\u0131nda yeni bir kullan\u0131c\u0131 mailboxu olu\u015fturmal\u0131y\u0131z ki RDB \u00fczerindeki verileri yeni olu\u015fturdu\u011fumuz bu kullan\u0131c\u0131n\u0131n mailboxuna restore edebilelim.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>7 &#8211;<\/strong><\/span> Exchange Management Console -&gt; Organization Configuration -&gt; Mailbox&#8217;a sa\u011f t\u0131klayarak New Mailbox Database se\u00e7ene\u011fi ile &#8220;test&#8221; ad\u0131nda yeni bir veritaban\u0131 olu\u015ftural\u0131m ve olu\u015fturdu\u011fumuz bu vertaban\u0131 \u00fczerinde yeni bir kullan\u0131c\u0131 tan\u0131mlayal\u0131m. Burada dikkat etmemiz gereken konu olu\u015fturdu\u011fumuz kullan\u0131c\u0131n\u0131n yeni olu\u015fturdu\u011fumuz &#8220;test&#8221; veritaban\u0131 \u00fczerinde tan\u0131mlan\u0131yor olmas\u0131. Onun i\u00e7in yandaki resimdeki ekranda &#8220;Specify the mailbox database rather than using database automatically selected&#8221; se\u00e7ene\u011fini i\u015faretleyerek &#8220;test&#8221; veritaban\u0131n\u0131 se\u00e7in.<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch10.png\"><img loading=\"lazy\" class=\"alignright\" title=\"exch10\" src=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch10.png\" alt=\"\" width=\"475\" height=\"418\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Buraya kadar her\u015feyi do\u011fru yapt\u0131ysan\u0131z sistemde test ve RDB ad\u0131nda 2 adet mount edilmi\u015f mailbox database olmal\u0131 ve <a href=\"https:\/\/127.0.0.1\/owa\">https:\/\/127.0.0.1\/owa<\/a> adresinden OWA2ya giri\u015f yapt\u0131\u011f\u0131n\u0131zda yeni olu\u015fturd\u011funuz kullan\u0131c\u0131n\u0131n mailboxunu g\u00f6rebiliyor olmal\u0131s\u0131n\u0131z.<\/p>\n<p>Art\u0131k RDB veritaban\u0131ndan restore i\u015flemlerine ba\u015flayabiliriz.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>8 &#8211;<\/strong><\/span> \u00d6ncelikle a\u015fa\u011f\u0131daki komut ile RDB veritaban\u0131 i\u00e7erisinde arad\u0131\u011f\u0131n\u0131z kullan\u0131c\u0131lar\u0131n olup olmad\u0131\u011f\u0131ndan emin olun.<\/p>\n<pre>Get-MailboxStatistics -database RDB<\/pre>\n<p><a href=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch12.png\"><img loading=\"lazy\" class=\"size-full wp-image-612 aligncenter\" title=\"exch12\" src=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch12.png\" alt=\"\" width=\"985\" height=\"107\" srcset=\"https:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch12.png 985w, https:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch12-300x32.png 300w\" sizes=\"(max-width: 985px) 100vw, 985px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>9 &#8211;<\/strong><\/span> Yeni olu\u015fturdu\u011funuz kullan\u0131c\u0131n\u0131n mailboxunu owa ile tekrar a\u00e7\u0131n ve inbox i\u00e7erisinde herhangi bir yere &#8220;YEDEK&#8221; ad\u0131nda bir folder olu\u015fturun ve a\u015fa\u011f\u0131daki komut ile RDB&#8217;de belirtti\u011finiz kullan\u0131c\u0131n\u0131n mailboxunu yeni kullan\u0131c\u0131m\u0131z\u0131n mailboxuna restore edin. Benim \u00f6rne\u011fimde yeni a\u00e7t\u0131\u011f\u0131m kullan\u0131c\u0131 &#8220;Exchange Yedekci&#8221; ve RDB veritaban\u0131ndan restore edece\u011fim mailbox kullan\u0131c\u0131s\u0131 da Hakan \u00c7ak\u0131ro\u011flu. Burada dikkat etmeniz gereken konu, restore edece\u011finiz kullan\u0131c\u0131 parametresini, a\u015fa\u011f\u0131da verece\u011fim komutta\u00a0 &#8220;Get-MailboxStatistics -database RDB&#8221; komutu ile gelen \u00e7\u0131kt\u0131da DisplayName alan\u0131nda g\u00f6r\u00fcnen \u015fekilde yazman\u0131z gerekti\u011fidir.<\/p>\n<p>A\u015fa\u011f\u0131daki komut ile &#8220;Exchange Yedekci&#8221; kullan\u0131c\u0131s\u0131n\u0131n mailboxuna RDB veritabann\u0131ndan &#8220;Hakan \u00c7ak\u0131ro\u011flu&#8221; kullan\u0131c\u0131s\u0131n\u0131n t\u00fcm mailbox verilerini restore edelim. Baditemlimit parametresi ka\u00e7 adet hata oluursa i\u015flemin iptal edilece\u011fini belirtmek i\u00e7in kullan\u0131l\u0131r. E\u011fer bu parametreyi belirtmeseydik olu\u015fabilecek herhangi bir hatada restore i\u015flemi iptal edilecekti.<\/p>\n<p>&nbsp;<\/p>\n<pre>Restore-Mailbox -Identity eyedekci\r\n-RecoveryDatabase RDB -RecoveryMailbox \"Hakan \u00c7ak\u0131ro\u011flu\"\r\n-TargetFolder YEDEK -BadItemLimit 100<\/pre>\n<p><a href=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch13.png\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-613\" title=\"exch13\" src=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch13.png\" alt=\"\" width=\"986\" height=\"150\" srcset=\"https:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch13.png 986w, https:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch13-300x45.png 300w\" sizes=\"(max-width: 986px) 100vw, 986px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch14.png\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-614\" title=\"exch14\" src=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch14.png\" alt=\"\" width=\"981\" height=\"150\" srcset=\"https:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch14.png 981w, https:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch14-300x45.png 300w\" sizes=\"(max-width: 981px) 100vw, 981px\" \/><\/a><\/p>\n<p><span style=\"color: #ff0000;\"><strong>10 &#8211;<\/strong><\/span> Evet art\u0131k restore etti\u011fimiz mailleri OWA&#8217;dan g\u00f6rebiliyor olmal\u0131s\u0131n\u0131z.<\/p>\n<p><a href=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch15.png\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-615\" title=\"exch15\" src=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch15.png\" alt=\"\" width=\"635\" height=\"584\" srcset=\"https:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch15.png 635w, https:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch15-300x275.png 300w\" sizes=\"(max-width: 635px) 100vw, 635px\" \/><\/a><\/p>\n<pre><a href=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch16.png\"><img loading=\"lazy\" class=\" wp-image-616 alignright\" title=\"exch16\" src=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch16.png\" alt=\"\" width=\"326\" height=\"415\" \/><\/a><\/pre>\n<p><span style=\"color: #ff0000;\"><strong>11 &#8211;<\/strong><\/span> Son olarak yeni a\u00e7t\u0131\u011f\u0131m\u0131z kullan\u0131c\u0131 olan Exchange Yedekci kullan\u0131c\u0131s\u0131n\u0131n t\u00fcm mailbox i\u00e7eri\u011fini (inbox,sent items,contacts,calendar vs.) istedi\u011finiz herhangi bir ortamda Outlook ile kullanabilece\u011finiz pst format\u0131nda export edelim.<\/p>\n<p>A\u015fa\u011f\u0131daki komut ile Active Directory \u00fczerindeki &#8220;Administrator&#8221;\u00a0 kullan\u0131c\u0131s\u0131na Mailbox Import Export yetkisi verelim.<\/p>\n<pre>New-ManagementRoleAssignment\r\n\u00a0-Role \"Mailbox Import Export\"\r\n-User DC\\Administrator\r\n\r\n<a href=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch18.png\"><img loading=\"lazy\" class=\"alignleft size-full wp-image-618\" title=\"exch18\" src=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch18.png\" alt=\"\" width=\"714\" height=\"87\" srcset=\"https:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch18.png 714w, https:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch18-300x36.png 300w\" sizes=\"(max-width: 714px) 100vw, 714px\" \/><\/a><\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Yukar\u0131daki komutu verdikten sonra Management Shell arabirimini kapat\u0131p a\u00e7mam\u0131z gerekiyor. E\u011fer kapay\u0131p a\u00e7massak a\u015fa\u011f\u0131daki komutu shell tan\u0131mayacakt\u0131r.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>A\u015fa\u011f\u0131daki komut ile export request olu\u015ftural\u0131m ve pst dosyas\u0131n\u0131n olu\u015fturulaca\u011f\u0131 yeri belirtelim. Burada dikkat etmeniz gereken konu pst&#8217;nin kaydedilece\u011fi yerin NTFS dosya sisteminde payla\u015f\u0131lm\u0131\u015f bir dizin olmas\u0131 gerekti\u011fi ve &#8220;Exchange Trusted Subsystem&#8221; kullan\u0131c\u0131s\u0131na bu sharing i\u00e7in Read-Write izinlerininverilmesi gerekti\u011fidir.<\/p>\n<pre>New-MailboxExportRequest\r\n-Mailbox eyedekci\r\n-FilePath \"\\\\192.168.1.100\\Exports\\hakan.pst\"<\/pre>\n<p>Pst export i\u015flemi mailbox boyutuna g\u00f6re de\u011fi\u015fecektir. Devam eden i\u015flemin durumunu kontrol etmek i\u00e7in a\u015fa\u011f\u0131daki komutu kullanabilirsiniz<\/p>\n<pre>Get-MailboxExportRequest | Get-MailboxExportRequestStatistics<\/pre>\n<p><a href=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch17.png\"><img loading=\"lazy\" class=\"alignleft  wp-image-617\" title=\"exch17\" src=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch17.png\" alt=\"\" width=\"616\" height=\"133\" srcset=\"https:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch17.png 990w, https:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/02\/exch17-300x64.png 300w\" sizes=\"(max-width: 616px) 100vw, 616px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Evet, her\u015fey sorunsuz tamamland\u0131ysa art\u0131k restore edilmi\u015f mailboxunuz share etti\u011finiz folderin i\u00e7erisinde olmal\u0131 \ud83d\ude42<\/p>\n<p>Sonunda istedi\u011finiz veriye ula\u015fabilmenin verdi\u011fi haz ile g\u00fcn\u00fcn kahraman\u0131 olabilirsiniz \ud83d\ude42<\/p>\n<p>&nbsp;<\/p>\n<p>Umar\u0131m faydal\u0131 bir payla\u015f\u0131m olmu\u015ftur, yeni bir yaz\u0131da yeniden g\u00f6r\u00fc\u015fmek dile\u011fiyle&#8230;<\/p>\n<p>&nbsp;<\/p>\n<p>Kaynaklar :<\/p>\n<p><a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/bb124612.aspx\">http:\/\/technet.microsoft.com\/en-us\/library\/bb124612.aspx<\/a><\/p>\n<p><a href=\"http:\/\/www.stevieg.org\/2010\/07\/using-the-exchange-2010-sp1-mailbox-export-features-for-mass-exports-to-pst\/\">http:\/\/www.stevieg.org\/2010\/07\/using-the-exchange-2010-sp1-mailbox-export-features-for-mass-exports-to-pst\/<\/a><\/p>\n<p><a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/bb125218.aspx\">http:\/\/technet.microsoft.com\/en-us\/library\/bb125218.aspx\u00a0<\/a><\/p>\n<p><a href=\"http:\/\/social.technet.microsoft.com\/Forums\/tr-TR\/exchangetr\/thread\/966c5b0d-c22d-4567-b584-4b0dba72a61c\/\">http:\/\/social.technet.microsoft.com\/Forums\/tr-TR\/exchangetr\/thread\/966c5b0d-c22d-4567-b584-4b0dba72a61c\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ortam\u0131n\u0131zda Exchange 2010 varsa ve mailbox databaselerinin yede\u011fini al\u0131yorsan\u0131z eninde sonunda bir g\u00fcn mailboxlar\u0131n eski hallerine d\u00f6nmek zorunda kalacaks\u0131n\u0131zd\u0131r. \u00d6rne\u011fin Contacts&#8217;lar\u0131n\u0131 kaybetmi\u015f ya da yanl\u0131\u015fl\u0131kla silmi\u015f \u00fcst d\u00fczey bir y\u00f6netici i\u00e7in bu silinen contacts&#8217;lar\u0131n de\u011feri \u015firket i\u00e7in son derece de\u011ferli ve kritik olabilir. Exchange 2010 Single mailbox backup alan bir \u00e7\u00f6z\u00fcm\u00fcnz yoksa tek se\u00e7enek yede\u011fini ald\u0131\u011f\u0131n\u0131z mailbox database&#8217;yi restore ederek sisteminize Restore Mailbox olarak mount etmek ve mailbox\u0131 yede\u011fi ald\u0131\u011f\u0131n\u0131z tarihe geri d\u00f6nd\u00fcrmek olacakt\u0131r. Bu i\u015flemi canl\u0131 sistemde yapmak riskli olaca\u011f\u0131ndan test otam\u0131nda yapmak en mant\u0131kl\u0131 ve do\u011fru se\u00e7im olacakt\u0131r. K\u0131saca yapaca\u011f\u0131m\u0131z i\u015flemler, yede\u011fi al\u0131nm\u0131\u015f bir mailbox veritaban\u0131n\u0131 yedekten d\u00f6nerek Exchange ve AD kurdu\u011fumuz bir test ortam\u0131nda sisteme mount ederek ilgili ki\u015finin mailboxunu yeni olu\u015fturulan test sisteminde olu\u015fturulan yeni kullan\u0131c\u0131n\u0131n mailboxuna restore edilmesi ve bu restore edilmi\u015f mailboxun pst dosyas\u0131na aktar\u0131lmas\u0131 olarak \u00f6zetlenebilir.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[19],"tags":[],"_links":{"self":[{"href":"https:\/\/www.hakancakiroglu.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/584"}],"collection":[{"href":"https:\/\/www.hakancakiroglu.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hakancakiroglu.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hakancakiroglu.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hakancakiroglu.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=584"}],"version-history":[{"count":68,"href":"https:\/\/www.hakancakiroglu.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/584\/revisions"}],"predecessor-version":[{"id":668,"href":"https:\/\/www.hakancakiroglu.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/584\/revisions\/668"}],"wp:attachment":[{"href":"https:\/\/www.hakancakiroglu.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=584"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hakancakiroglu.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=584"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hakancakiroglu.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=584"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}