-
Exchange Server 2010 Export-Mailbox Import-Mailbox
Mayıs 20th, 2010 Yorum yok
Exchange Server 2010 ile birlikte daha yoğun olarak kullandığımız Exchange Management Shell aracılığı ile mailbox’ımızda bulunan bileşenleri isteğimiz doğrultusunda bir başka mailbox’a veya PST’ye alabiliyoruz. Bu konumuzda PST’ye export ve import edilmesini açıklamaya çalışacağım.
Bu işlemler öncesinde export ve import işlemlerinin yapılacağı platformda Exchange Server 2010 Management Tools ve Outlook 2010 64 bit uygulamasının yüklü olması gerekiyor
Öncelikli olarak kullanıcımızın Mail Export ve Import işlemlerini yapabilmesi için Exchange Server 2010 yapısında bulunana Mail Import Export Rolüne ait yetki tanımını aşağıdaki komut satırı ile gerçekleştiriyoruz. (Exchange Management Shell üzerinden)
New-ManagementRoleAssignment -Role “Mailbox Import Export” -User administrator
Bu işlemlerden sonra aşağıdaki komut’u Exchange Management Shell üzerinden giriyoruz.
Export-Mailbox -Identity Administrator -PSTFolderPath c:\Administrator_pst.pst
Bu işlemler sonucunda aşağıdaki hata mesajı karşımıza çıkacaktır.
-1056749164
Error occurred in the step: Moving messages. Failed to copy messages to the destination mailbox store with error:
MAPI or an unspecified service provider.
ID no: 00000000-0000-00000000-1056749164
Error occurred in the step: Moving messages. Failed to copy messages to the destinat
ion mailbox store with error:MAPI or an unspecified service provider.
ID no: 00000000-0000-00000000Bu hata mesajı sonrasında oluşan pst dosyasını outlook ile birlikte açtığınızda ve outlook açık iken export komutunu çalıştırmanız halinde ise aşağıdaki hata mesajı ile karşılacaksınız.
-2147221226
Error occurred in the step: Approving object. An unknown error has occurred.Error was found for Administrator (Administrator@byd.local) because: Error occurred in the step: Approving object. An unknown error has occurred., error code: -2147221226
+ CategoryInfo : InvalidOperation: (0:Int32) [Export-Mailbox], RecipientTaskException
+ FullyQualifiedErrorId : F3F9241,Microsoft.Exchange.Management.RecipientTasks.ExportMailboxBu hatalar nedeni ile mailbox export işlemi yapılamamaktadır. Bu nedenle farklı bir çözüm yolu ile bu işlemi gerçekleştirebiliriz. (Bu konunun bir bug olduğu ve roolup 5 ile giderileceği bilgisi edinilmiştir.)
Exchange Server 2010 sunucusunda iken Exchange Management Shell yerine PowerShell arabirimini kullanacağız. Bunun için öncelikle kullandığımız PowerShell arabiriminde Exchange Server 2010 komutlarını kullanabilmek için aşağıdaki komut satırını kullanalım:
(Not:Bu işlemlerde Exchange Server 2010 Management Tools kurulu olduğu varsayılmıştır.)
Add-PSSnapin *e2010*
Bu komut sonrasında artık normal PowerShell ekranımızdan Exchange Server 2010 shell komutlarını kullanabiliriz.
Export-Mailbox -Identity Administrator -PSTFolderPath c:\Administrator_pst.pst
komutu ile export işlemini
Import-Mailbox -Identity Administrator -PSTFolderPath c:\Administrator_pst.pst
komutu ile import işlemini gerçekleştirebilirsiniz.
Not: Import işleminde pst import edilecek mailbox üzerinde işlem yaptığınız user’ın full access yetkisi olması gerekiyor.
Konu ile ilgili video linkinden adım adım izleme şansınız bulunuyor. Video Link
Kategorilenmemiş -PSTFolderPath, 1056749164, 2147221226, An unknown error has occurred, Error occurred in the step: Approving object, Error occurred in the step: Approving object. An unknown error has occurred, Error occurred in the step: Moving messages, Error occurred in the step: Moving messages. Failed to copy messages to the destinat ion mailbox store with error, Error occurred in the step: Moving messages. Failed to copy messages to the destinat ion mailbox store with error:MAPI or an unspecified service provider., export-mailbox, Failed to copy messages to the destinat ion mailbox store with error, ID no: 00000000-0000-00000000, import-mailbox, Mailbox import export, MAPI or an unspecified service provider


