How to move ZCS to another server

How to move ZCS to another server

   KB 23043        Last updated on 2016-09-28  




0.00
(0 votes)


Problem

In this article, we will explain how to move/migrate a zimbra server to another machine.


Prerequisites

Both the source and destination zimbra servers must be running the same version. E.g. if source is running 8.6, the installed zimbra on the destination must be also 8.6.

Resolution

Below are the steps that needs to be taken, to complete the migration:

1. # su - zimbra 2. $ zmcontrol stop 3. $ exit 4. Make sure all zimbra services are stopped: # ps aux | grep zimbra 5. Now, you can copy the /opt/zimbra directory to another backup location, and from there to copy it to the destination server, or you could mount external disc and copy it there. 4. As root user, copy it to the remote mashine:

  1. rsync -e ssh -axvzKHS /opt/zimbra/ 10.0.0.1:/opt/zimbra/

or to a local mounted disk:

  1. rsync -avH /opt/zimbra /mnt/zimbra_backup


Additional Content

Verified Against: Zimbra Collaboration 8.6, 8.5, 8.0 Date Created: 28/09/2016
Article ID: https://wiki.zimbra.com/index.php?title=How_to_move_ZCS_to_another_server Date Modified: 2016-09-28



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »


Wiki/KB reviewed by SME1 SME2 COPY EDITOR Last edit by Teodor Vizirov
Jump to: navigation, search