Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-29-2006, 12:07 AM
Intermediate Member
 
Posts: 22
Default Zimbra Server Migration (zimbra -> zimbra)

Hi everyone,

I have searched for a way to move current zimbra install to another machine
(same distro - but I don't think that should be a problem, zimbra is more or less
chrooted and selfcontained into /opt/zimbra).
Only thread I could find is Changing Linux distros & keeping Zimbra data?

The idea is basicly:
1. install Zimbra on Zimbra-Server-2
2. shutdown Zimbra at Zimbra-Server-1
3. as root make archive of /opt/zimbra/ (I belive that tar.gz would work)
4. copy archive to Zimbra-Server-2, unpack it to /opt/zimbra (should rewrite everything)
5. run /opt/zimbra/bin/zmfixperms.sh
6. setup dns records (mx, etc.)
7. run Zimbra install again on Zimbra-Server-2 (choose update)
8. shutdown Zimbra-Server-1
9. reboot Zimbra-Server-2


Thing I am interested has anyone tried this before....
Reply With Quote
  #2 (permalink)  
Old 03-29-2006, 02:11 AM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

Yes, it's been done several times although not by me. I assume that you're moving to a new server with the same version of Zimbra, if so it should work the way you've described.
__________________
Regards


Bill

Last edited by phoenix; 03-29-2006 at 10:38 PM..
Reply With Quote
  #3 (permalink)  
Old 03-29-2006, 09:52 PM
Active Member
 
Posts: 36
Default

I just recently went through this process. Basically the process I followed was:

- zmcontrol stop on current server
- install zimbra on new server
- verify install of zimbra (start all services)
- zmcontrol stop on new server
- tar up /opt/zimbra on old server
- lay down tar file from the /opt directory on new server
- run zmfixperms.sh (this is key. i didnt know this script existed, so i had to go through the process by hand! ugh!)
- restart all zimbra processes

Once I resolved the permissions issues, everything worked flawlessly.
Reply With Quote
  #4 (permalink)  
Old 05-20-2009, 06:48 AM
Loyal Member
 
Posts: 81
Default

Just moved our three node VMWare multi node installation to Proxmox.
It took 6 hours, but I sleep so much better now

Thx for the advice.

Sam

PS. After the initial ./install on the new server with default=old values (maybe on an isolated environment so as not to get the other nodes confused?) you should move the TAR file that you previously made on the old server with tar pczvf zimbra.tar.gz /opt/zimbra/ command.
This way you don't have to worry about filepermissions and zmfixperms.sh when you untar it in /opt folder with pxzvf zimbra.tar.gz in place of the new/default/oldvalues zimbra folder.
__________________
SamTzu
-----------------------------------------------
"I keep hitting the esc key, why am I still here?"

Last edited by SamTzu; 05-20-2009 at 06:51 AM..
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.