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

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 05-27-2008, 12:03 PM
Active Member
 
Posts: 25
Question [SOLVED] Move data between servers with different OS's

What is the best way to migrate zimbra data between two servers where the operating systems are not the same? I saw the wiki article that uses zmbackup/zmrestore for going between network edition servers. However, I am moving from the FOSS install to a licensed install. Does anybody have any ideas how best to do this?

Thanx,
LES
Reply With Quote
  #2 (permalink)  
Old 05-27-2008, 12:09 PM
Moderator
 
Posts: 6,237
Default

You can use this method to change operating system platforms.
/blog/archives/2007/10/moving-zcs-to-another-server.html
-Note how step 3 uses -s (that's the trick)
-Watch GID and UID's
-Best if you keep permissions intact using something like rsync -avHK etc (else there's zmfixperms, though that's not run on places like /opt/zimbra/store).
Reply With Quote
  #3 (permalink)  
Old 05-27-2008, 12:12 PM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

I take it from your comments that you're moving from the OSS version to the NE version, correct? If so, you should read this: Network Edition Moving from Open Source to Network Edition ZCS - Zimbra :: Wiki
__________________
Regards


Bill
Reply With Quote
  #4 (permalink)  
Old 05-27-2008, 12:37 PM
Moderator
 
Posts: 6,237
Default

Yup the Wiki method will work too.

Depending on the route you go FOSS > NE can be as simple as running the installer & having the license handy in /opt/zimbra/conf/

If you use the blog method:

Change platforms (using the exact same ZCS version #)
Then upgrade to NE (run the exact same ZCS version installer but just in NE)

OR

Upgrade to NE (run the exact same ZCS version installer but just in NE)
Then switch platforms (using the exact same ZCS version #)


NOTE:
-The key is using the same zimbra version for the platform change.
-In general, for FOSS > NE upgrades, using the same version is not needed; but if something fails it's a whole lot easier to troubleshoot same version #'s.

-But for the wiki method note that "the network edition server must be the same release as installed on the open source edition server".

-And of course put on 5.0.6 somewhere in there, either way before or after the upgrade/platform change.
-Be sure to make a backup! Backup and Restore Articles - Zimbra :: Wiki

I'm kinda guessing you might be changing platforms because there's no NE binary - of course there's plenty of other reasons it could be
If needed, support can assist you with any of the methods outlined in this thread.

Last edited by mmorse; 05-27-2008 at 12:43 PM..
Reply With Quote
  #5 (permalink)  
Old 05-27-2008, 12:47 PM
Active Member
 
Posts: 25
Default

Yeah, my plan is to change platforms first. I was hasty in my use of ubuntu 8.04 and now need to backport to 6.06. I don't know if I should go OSS to OSS or if it is ok to go OSS to NE. However, my plan was to go OSS to NE and then upgrade to 5.0.6. Sound right?

I tried the blog approach. Unfortunately, since the OSs are different, the rsync makes the binaries on the new install un-runnable (specifically openldap). I tried fixing them up, but that seems to be an endless list of library incompatibilities. I'm not sure I used -s. So, that may have screwed up the works, but it seems that the binary part would be a problem either way.

The wiki approach sounds interesting since it is just doing a data transfer. Does it get everything?


Thanx,
LES
Reply With Quote
  #6 (permalink)  
Old 05-27-2008, 12:49 PM
Active Member
 
Posts: 25
Default

One other thing, it is a move from 64 bit to 32 bit as well.
Reply With Quote
  #7 (permalink)  
Old 05-28-2008, 12:03 PM
Active Member
 
Posts: 25
Default Got it

I finally got it to work, but there was trial and tribulation.

I had to run through this a few times, but the trick was not to execute rm -rf /opt/zimbra/openldap-data/*. Instead, run rm -f /opt/zimbra/openldap-data/*. If you run the former, it will force you to do a database recovery which will succeed, but later will not work.

The other tricky part was that I needed to change the MTA allowed ip list to include the new ip addresses.

Anyway, thank you for the help.

LES
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.