Migration Process o...
 
Notifications
Clear all

[Sticky] Migration Process of Carbonio Community Edition

41 Posts
14 Users
16 Likes
2,616 Views
(@sharif)
Admin
Joined: 2 years ago
Posts: 387
Topic starter  

Hi,

I hope you all are in good health.

Imapsync is the known migration method commonly used by many system admins all over the world. Being an open source, easy to deploy and free of cost solution, it comes with some limitations (Contacts & Calendar migration) which can be overcome in some situations(i.e. zimbra ose, gsuite). 
Imapsync related migration method

On the other hand, there are some custom scripts that can also be used as a migration tool.
Useful migration method

The purpose of this topic is to help the community to share and resolve migration related issues by discussing the challenges, limitations and alternatives. 

 

Note: 

We are working on migration tool(imapsync based) that is less complex and can be executed/completed with a few commands. 

Please feel free to share your expertise and experience with others.

Thanks and regards,

Sharif


   
Quote
(@sharif)
Admin
Joined: 2 years ago
Posts: 387
Topic starter  

If you are going to try script based migration method, you may want to check these threads from this forum related to zmmailbox:

https://community.zextras.com/forum/postid/3768/

https://community.zextras.com/forum/postid/3712/

So basically, you need to use -t 0 & set socket_so_timeout to a higher value (3000000) for both getRestUrl ( export ) and postRestUrl ( import ) commands.

Thanks,

Sharif


   
Jim Dunphy reacted
ReplyQuote
(@anahuac)
Joined: 10 months ago
Posts: 306
 

I'll like to add my 2 cents =)

I made this handful software called Z2C.

Z2C is a quite simple pair of scripts to export LDAP data from an origin Zimbra or Carbonio server and import it on a brand new Zimbra or Carbonio server. It's goal is to migrate accounts and help to dump and restore mailboxes from one server to another.

You can download it here: Z2C


   
manu67a, dominix, Md. Shariful Islam and 2 people reacted
ReplyQuote
(@anahuac)
Joined: 10 months ago
Posts: 306
 

Zimbra to Carbonio - Z2C


   
dominix reacted
ReplyQuote
correoweb
(@correoweb)
Joined: 1 year ago
Posts: 6
 

I have not started it, but; I appreciate your time and your generosity in sharing it, in advance.

I will complement my experiences


   
anahuac reacted
ReplyQuote
(@arman)
Admin
Joined: 3 years ago
Posts: 376
 

Hello all,

Take a look at these articles as well. You might find them useful: https://community.zextras.com/category/zextras-carbonio/carbonio-admin-guide/migration/


   
manu67a and anahuac reacted
ReplyQuote
dominix
(@dominix)
Joined: 11 years ago
Posts: 129
 

@anahuac I have been blocked while visiting your Site, no way to see anything.


   
ReplyQuote
(@anahuac)
Joined: 10 months ago
Posts: 306
 

@dominix I have done nothing to block you actively... it's behind CloudFlare and maybe you got caught for some rule of theirs.

You may try to change your IP address or use some public proxy?


   
ReplyQuote
(@arukashi)
Joined: 2 years ago
Posts: 9
 

Hello!

Is there any successful migration cases so far?


   
ReplyQuote
(@anahuac)
Joined: 10 months ago
Posts: 306
 

@arukashi yes =)

I migrated my server with quite a few customers in it from Zimbra to Carbonio two weeks ago.

That's why I shared Z2C above to help others to make it easier.


   
ReplyQuote
(@zmctl_restart)
Joined: 8 months ago
Posts: 3
 

Hi all,

I am planning to migrate from Zimbra OSE to Zextras CE. There is a great migration guide already published but it doesn't cover Active Directory integrated domains. If the Zimbra domains are AD integrated for authentication, how does the migration process change?

Best regards


   
ReplyQuote
(@arukashi)
Joined: 2 years ago
Posts: 9
 

I did successful migration guided by this article https://community.zextras.com/how-to-use-imapsync-to-migrate-zimbra-to-carbonio-carbonio-ce/

What i didn't understand is why is this part so important:

Important note:
During the installation of new Carbonio CE server, use carbonio.local as a default domain hence the structure of hostname will be mail.carbonio.local and /etc/hosts will be:
ip_address mail.carbonio.local mail
This is the key requirement of this migration method.

I want my destination server hostname same as source, and i can't see why this will break something.

am i missing something?

Thanks in advance

This post was modified 8 months ago by arukashi

   
ReplyQuote
(@zmctl_restart)
Joined: 8 months ago
Posts: 3
 

Hello,

I answer my own question. AD integrated domain doesn't change much of the process.

1. First setup external AD authentication then

2. setup autoprovision to import accounts from AD then

3. migrate mailboxes (imapsync or mailbox export/import)

 

Posted by: @zmctl_restart

Hi all,

I am planning to migrate from Zimbra OSE to Zextras CE. There is a great migration guide already published but it doesn't cover Active Directory integrated domains. If the Zimbra domains are AD integrated for authentication, how does the migration process change?

Best regards

 


   
ReplyQuote
(@mpo8899_)
Joined: 8 months ago
Posts: 1
 

Hai greetings, nice to meet you and thanks for all of these informations. 


   
ReplyQuote
(@arukashi)
Joined: 2 years ago
Posts: 9
 

Posted by: @zmctl_restart

Hi all,

I am planning to migrate from Zimbra OSE to Zextras CE. There is a great migration guide already published but it doesn't cover Active Directory integrated domains. If the Zimbra domains are AD integrated for authentication, how does the migration process change?

Hi. This article fully covers it - https://community.zextras.com/how-to-use-imapsync-to-migrate-zimbra-to-carbonio-carbonio-ce/

root@mail:/opt/zimbra/backup# /opt/zimbra/common/sbin/slapcat -F /opt/zimbra/data/ldap/config -b "" -H ldap:///???(&(!(entryDN:dnSubTreeMatch:=cn=zimbra))) > /opt/zimbra/backup/provisioning.ldif

This command make full backup of domain and contacts. After restoring /opt/zimbra/backup/provisioning.ldif at new server you will get same AD intergrated domains and its accounts.

This post was modified 8 months ago by arukashi

   
ReplyQuote
Page 1 / 3