Results 1 to 7 of 7

Thread: [SOLVED] Move data between servers with different OS's

  1. #1
    lstroud is offline Active Member
    Join Date
    May 2008
    Location
    NC
    Posts
    25
    Rep Power
    7

    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

  2. #2
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

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

  3. #3
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,475
    Rep Power
    56

    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


    Acompli: A new adventure for Co-Founder KevinH.

  4. #4
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    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.

  5. #5
    lstroud is offline Active Member
    Join Date
    May 2008
    Location
    NC
    Posts
    25
    Rep Power
    7

    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

  6. #6
    lstroud is offline Active Member
    Join Date
    May 2008
    Location
    NC
    Posts
    25
    Rep Power
    7

    Default

    One other thing, it is a move from 64 bit to 32 bit as well.

  7. #7
    lstroud is offline Active Member
    Join Date
    May 2008
    Location
    NC
    Posts
    25
    Rep Power
    7

    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Move data store.
    By santunez in forum Migration
    Replies: 8
    Last Post: 03-30-2013, 04:01 AM
  2. Replies: 2
    Last Post: 02-12-2008, 11:55 AM
  3. 4.5 to 5.0 OSS upgrade on Ubuntu kills all LDAP data
    By RoadRunnr in forum Installation
    Replies: 8
    Last Post: 12-30-2007, 07:47 AM
  4. Move user between Zimbra servers
    By lightman in forum Migration
    Replies: 7
    Last Post: 02-27-2007, 10:35 AM
  5. move an oss user to network edition?
    By keithop in forum Administrators
    Replies: 2
    Last Post: 09-11-2006, 04:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •