Migrating from 32 to 64 bits success story (NE 6.0.4):

On 32 bit system before backup i've just done full backup:

 zmbackup -f -a all -s servername

On 64 bit machine I did (as zimbra user):

 zmcontrol stop
 rm -rf /opt/zimbra/db/data/*

Now copy backup from old system (32 bit) to /opt/zimbra/backup.


 zmrestoreldap -lbs 
 zmrestoreldap -lb <newest full backup> (from above's results)

I did not remember ldap password, so i just copied localconfig.xml from old system:

 cp /old/opt/zimbra/conf/localconfig.xml /opt/zimbra/conf/

Now restoring all data (as zimbra user):

 ldap start
 zmconvertctl start
 zmrestoreoffline -sys -a all -c -br -lb <label_from_above>

I fixed permissions just to be sure (as root):


After all, not all services started. It was caused by not proper ssl certificates. I moved keystroke and certs from old server:

 mv /old/opt/zimbra/jetty-6.1.22.z6/etc/keystroke /opt/zimbra/jetty/etc/
 mv /old/opt/zimbra/ssl/commercial /otp/zimbra/ssl/commercial

After that I just registered certs (as root):

 cd /opt/zimbra/ssl/commercial
 zmcertmgr deploycrt comm commercial.crt commercial_ca.crt

After that as zimbra user:

 zmcontrol start

Everything worked ~!

Jump to: navigation, search