{"id":587,"date":"2009-09-03T19:17:15","date_gmt":"2009-09-03T12:17:15","guid":{"rendered":"http:\/\/adityo.blog.binusian.org\/?p=587"},"modified":"2009-09-03T19:17:15","modified_gmt":"2009-09-03T12:17:15","slug":"how-to-migrate-mail-from-zimbra-to-zimbra","status":"publish","type":"post","link":"https:\/\/adityo.blog.binusian.org\/?p=587","title":{"rendered":"How to migrate mail from zimbra to zimbra"},"content":{"rendered":"<p>In ZCS 5.0.9+ you can export an entire mailbox with:<br \/>\n\/opt\/zimbra\/bin\/zmmailbox -z -m user@domain.com getRestURL \u201c\/\/?fmt=tgz\u201d &gt; \/tmp\/account.tgz<\/p>\n<p>in my case :<\/p>\n<p>root@mail:~# \/opt\/zimbra\/bin\/zmmailbox -z -m olivia@test.org getRestURL &#8220;\/\/?fmt=tgz&#8221; &gt; \/tmp\/account.tgz<\/p>\n<p>Next transfer via rsync, scp, sftp, etc. You\u2019ll also need to create the account on the 2nd server if the desired account doesn\u2019t exist at your destination server yet.<\/p>\n<p>Then import with:<br \/>\n\/opt\/zimbra\/bin\/zmmailbox -z -m user@domain.com postRestURL \u201c\/\/?fmt=tgz&amp;resolve=reset\u201d \/tmp\/account.tgz<\/p>\n<p>In my case :<\/p>\n<p>root@mail:~# \/opt\/zimbra\/bin\/zmmailbox -z -m olivia2@test.org postRestURL &#8220;\/\/?fmt=tgz&amp;resolve=reset&#8221; \/tmp\/account.tgz<\/p>\n<p>The resolve= paramater has several options:<\/p>\n<p>* \u201cskip\u201d ignores duplicates of old items, it\u2019s also the default conflict-resolution.<br \/>\n* \u201cmodify\u201d changes old items.<br \/>\n* \u201creset\u201d will delete the old subfolder (or entire mailbox if \/).<br \/>\n* \u201creplace\u201d will delete and re-enter them.<\/p>\n<p>\u2018Reset\u2019 will be a bit faster on an empty destination mailbox because it skips most dupe checks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In ZCS 5.0.9+ you can export an entire mailbox with: \/opt\/zimbra\/bin\/zmmailbox -z -m user@domain.com getRestURL \u201c\/\/?fmt=tgz\u201d &gt; \/tmp\/account.tgz in my case : root@mail:~# \/opt\/zimbra\/bin\/zmmailbox -z -m olivia@test.org getRestURL &#8220;\/\/?fmt=tgz&#8221; &gt; \/tmp\/account.tgz Next transfer via rsync, scp, sftp, etc. You\u2019ll also need to create the account on the 2nd server if the desired account doesn\u2019t exist [&hellip;]<\/p>\n","protected":false},"author":386,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[495],"tags":[3211],"class_list":["post-587","post","type-post","status-publish","format-standard","hentry","category-zimbra","tag-migrate-from-zimbra-to-zimbra"],"_links":{"self":[{"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/posts\/587","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/users\/386"}],"replies":[{"embeddable":true,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=587"}],"version-history":[{"count":2,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/posts\/587\/revisions"}],"predecessor-version":[{"id":589,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/posts\/587\/revisions\/589"}],"wp:attachment":[{"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=587"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=587"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=587"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}