Domain users migration to new zimbra server

Domain users migration to new zimbra server



Problem:

How to Migrate only single domain users to new zimbra server


Soluton:

1. Take the full backup in old system.


2. Make a new system as per "https://wiki.zimbra.com/wiki/Network_Edition_Disaster_Recovery#Preparing_the_New_Server", hostname of both server should be same and install the machine is in isolated network.


3. Export and import the ldap to new machine from old.

https://wiki.zimbra.com/wiki/LDAP_data_import_export


4. Delete other domain users and domains from ldap


5. rsync the full backup to new system


6. Make a list of all domain users which you want in new system


7. Restore all domain users one by one.

https://wiki.zimbra.com/wiki/CLI_zmrestore_Network_Edition_only


8. Once restores, stop the old server for 30 minutes. Copy the redolog files after full backup from "/opt/zimbra/redolog" to new system


9. Play the redo, once done for all users. Delete all users from old system and start the zcs services.


10. On new system, rename the zimbra hostname.

https://wiki.zimbra.com/wiki/ZmSetServerName#Steps_to_change_the_Zimbra_server.27s_hostname_using_zmsetservername



"Navdeep Mathur"

<mathurn@zimbra.com>

Jump to: navigation, search