A ) Zimbra Old server
1 ) As root user
root@root:~#su zimbra
2 ) Now stop the zimbra services
zimbra@zimbra:~$ zmcontrol stop
Now on the New Server which having same os configuration and installed zimbra mail application on it.
B ) Zimbra New server
1 ) As root user : [ use sudo -i ]
[ make sure you have installed same version of zimbra with same configuration like domain name etc. ]
We now perform the first copy of the zimbra directory between the old mail server and new mail server . On the New server we must stop Zimbra. Stop zimbra on old machine or We leave Zimbra running on the live server for now to reduce downtime.
The following rsync command is run on the New Mail server. Substitute the hostname or IP address of the Old server as required in the command below.
a ) On New mail server [ Rsync between old to new server ]
service zimbra stop
or
zimbra@zimbra:~$zmcontrol stop
rsync -aHz –force –delete live_server:/opt/zimbra/ /opt/zimbra/
eg : rsync -aHz –force –delete root@192.168.28.6:/opt/zimbra/ /opt/zimbra/
[ where ip 192.168.28.6 is our old mail server ]
b ) now execute the below command after rsync done.
chown -R zimbra:zimbra /opt/zimbra
/opt/zimbra/libexec/zmfixperms
Now reboot the machine.
root@root:~# reboot
c ) Start Zimbra. Everything should work
Recent Comments