Hi all,
We have zimbra open source edition installed on Physical server.
We want to migrate zimbra from physical server to Virtual Machine,
Can any budy guide on this..
Regards
Migration Zimbra
- ianw1974
- Outstanding Member
- Posts: 233
- Joined: Sat Sep 13, 2014 12:45 am
- Location: UK and Poland
- Contact:
Re: Migration Zimbra
This link should help: https://wiki.zimbra.com/wiki/How_to_mov ... her_server
Re: Migration Zimbra
I recently done a migration from a locally running server to a hosted vps. I did the following steps and successful moved my Zimbra server to the vps. It should work just the same to migrate to a new hardware....
Preparing the existing server for the migration
- stop zimbra service
# su zimbra
$ zmcontrol stop
$ exit
-create portable ldap file
# cd /opt/zimbra/data/ldap/mdb/db
# tar cvzspf data.mdb.tar.gz data.mdb
Copy the Zimbra files to a backup direct
# mkdir /opt/backkup
#rsync --progress --archive --verbose --hard-links \ --exclude=zimbra/data/ldap/mdb/db/data\.mdb --exclude=zimbra/backup \ --exclude=zimbra/redolog /opt/zimbra /opt/backup
Prepare new zimbra server
- Install Zimbra server (same version as the old server)
** make sure to setup the server to <same hostname> and <admin id><password> as the old server
- Copy the backup files to the new server (/opt/backup/zimbra)
- Delete (or rename) the zimbra directry
# mv /opt/zimbra /opt/zimbra_old
# mv /opt/backup/zimbra /opt/zimbra
# cd /opt/zimbra/data/ldap/mdb/db
# rm data.mdb #(if exists)
# tar xvf data.mdb.tar.gz
We need to run the install.sh again to put the correct libraries, etc in place.
# cd <installation_directry>
# ./install.sh --skip-activation-check
Make sure the firewall is correctly setup to allow for access.
check the access to the new server: https://<ip_address>
BTW, I'm running version 8.8.15
Good luck....
Preparing the existing server for the migration
- stop zimbra service
# su zimbra
$ zmcontrol stop
$ exit
-create portable ldap file
# cd /opt/zimbra/data/ldap/mdb/db
# tar cvzspf data.mdb.tar.gz data.mdb
Copy the Zimbra files to a backup direct
# mkdir /opt/backkup
#rsync --progress --archive --verbose --hard-links \ --exclude=zimbra/data/ldap/mdb/db/data\.mdb --exclude=zimbra/backup \ --exclude=zimbra/redolog /opt/zimbra /opt/backup
Prepare new zimbra server
- Install Zimbra server (same version as the old server)
** make sure to setup the server to <same hostname> and <admin id><password> as the old server
- Copy the backup files to the new server (/opt/backup/zimbra)
- Delete (or rename) the zimbra directry
# mv /opt/zimbra /opt/zimbra_old
# mv /opt/backup/zimbra /opt/zimbra
# cd /opt/zimbra/data/ldap/mdb/db
# rm data.mdb #(if exists)
# tar xvf data.mdb.tar.gz
We need to run the install.sh again to put the correct libraries, etc in place.
# cd <installation_directry>
# ./install.sh --skip-activation-check
Make sure the firewall is correctly setup to allow for access.
check the access to the new server: https://<ip_address>
BTW, I'm running version 8.8.15
Good luck....