Results 1 to 6 of 6

Thread: Upgrading from FOSS to NE

  1. #1
    Join Date
    Nov 2007
    Posts
    13
    Rep Power
    7

    Default Upgrading from FOSS to NE

    We have Zimbra 5.0.0_RC1_1538.F7 FOSS version on Fedora 9

    We have purchased a new RHE5 server and have downloaded zcs-NETWORK-5.0.9_GA_2533.RHEL5.20080815101705.

    I need to place the mailboxes from the FOSS version to the new Network version and I need to maintain all the shared address books and calendars.

    What is the best way to do this?

    Can I just setup the new server and "restore" the mailboxes to it?

    I can sense this is not going to be an easy project, but I can pray.

  2. #2
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    Backup
    Upgrade your 5.0.0RC1 FC7 > 5.0.9 FOSS FC7
    To change servers & platforms: Moving ZCS to Another Server » Zimbra :: Blog (note the ./install.sh -s trick in step 3)
    Upgrade 5.0.9 FOSS RHEL5 > 5.0.9 NE RHEL5

    You could do some of this in less steps, but it allows easier troubleshooting doing it in multiple parts.

  3. #3
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    *I quick edited the post - there's no NE FC7:

    Backup
    Upgrade your 5.0.0RC1 FC7 > 5.0.9 FOSS FC7
    To change servers & platforms (5.0.9 FOSS FC7 > 5.0.9 FOSS RHEL5): Moving ZCS to Another Server » Zimbra :: Blog (note the ./install.sh -s trick in step 3)
    Upgrade 5.0.9 FOSS RHEL5 > 5.0.9 NE RHEL5

  4. #4
    Join Date
    Nov 2007
    Posts
    13
    Rep Power
    7

    Default

    Thanks mmorse

    One more question

    We were going to test out the NE version and as we purchased a new server for this, we were going to test it by moving the mailboxes from one to the other.

    Is there away to do this without having to name the server the same? For example the original server is at a Co-Location and the new one is at the Office for the time being.

    I hope that made sense.

  5. #5
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    Right now there's no cross LDAP instance zmmailboxmove, and you don't have any backup feature to use yet, so some ideas (minus share permissions):

    Imapsync is just mail so you'd have to export other stuff using additional methods. User Migration - Zimbra :: Wiki

    ZimbraMigrate is handy and incorporates Imapsync + REST for contacts, calendars, and filters in one tool: SourceForge.net: ZCS Tools

    Or grab .eml & .metadata-

    Export:
    zmmailbox -z -m user@domain.com getRestURL "//?fmt=tgz" > /tmp/user.tgz

    Import:
    zmmailbox -z -m user@domain.com postRestURL "//?fmt=tgz&resolve=reset" /tmp/user.tgz

    (Transfer them via rsync etc.)

    The resolve= parameter has several options:
    -"skip" ignores duplicates of old items (the default resolution).
    -"modify" changes old items.
    -"reset" will delete the old subfolder (or entire mailbox if /).
    -"replace" will delete and re-enthem. (Reset will be a bit faster on an empty destination mailbox because it skips most dup checks.)

    Don't remember when we added .tgz, works reliably fresh in 5.0.9 (with some additional duplication fixes in 5.0.10) - but going back far into the past there's the .zip formatter:
    http:// server.domain.com/user/~/?fmt=zip&query=is:anywhere

    (might prove interesting on 10G mailboxes - I haven't tried)

    You have so many methods for putting messages back into Zimbra; CURL/zmmailbox addMessge/zmlmtpinject etc:
    Recover data from store folders
    Moving Folders between users

    Zimlets that use this idea - more for self backups (not restore)
    Mail backup options for end users? (.eml)
    zimlet to save email in a txt file (.txt or html)

    RFE's:
    Bug 19630 - Migration Tool zimbra to zimbra
    Bug 29573 - Enhance 'zmmailboxmove' to move mailboxes between different ZCS version
    Bug 30163 - zimbra-zimbra migration via tar formatter
    Last edited by mmorse; 09-23-2008 at 02:23 PM.

  6. #6
    Join Date
    Nov 2007
    Posts
    13
    Rep Power
    7

    Default

    mmorse,

    Thank you very much for your information. We are backing up everyones email that are longer working on our projects and removing them.

    Export:
    zmmailbox -z -m user@domain.com getRestURL "//?fmt=tgz" > /tmp/user.tgz


    We are using your script above and it works great.

    We are running into difficulty with one mailbox, the user greated all his email folders in the top level and not under the inbox as everyone else did. So his mailbox is 213MB and yet I am only exporting 112MB, most of the folders are missing.

    So I tried moving them back under the inbox, but this did not work, so I recreated all the subfolders and moved the corresponding mail to those boxes. This has not resolved it either.

    I am thinking I need to make the db sync or something that would make sure the backend is correct with what the frontend is showing.

    I hope that makes sense

Similar Threads

  1. upgrading from 5.0.4 to 5.0.5 opensource
    By smoke in forum Installation
    Replies: 4
    Last Post: 10-19-2008, 10:38 AM
  2. Replies: 2
    Last Post: 08-25-2008, 09:40 PM
  3. Replies: 3
    Last Post: 05-28-2008, 08:02 AM
  4. Error when upgrading from 3.1 -> 3.1.1
    By jeg1972 in forum Installation
    Replies: 2
    Last Post: 05-10-2006, 06:10 AM
  5. Replies: 4
    Last Post: 04-26-2006, 10:11 AM

Posting Permissions

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