Results 1 to 9 of 9

Thread: Debian 5 / Zimbra 6 -> Ubuntu 10.04 / Zimbra 7

  1. #1
    Join Date
    Jul 2011
    Posts
    8
    Rep Power
    4

    Default Debian 5 / Zimbra 6 -> Ubuntu 10.04 / Zimbra 7

    Hi, I would like to upgrade my Zimbra (Open Source Edition) server version 6.0.1 to 7.1.1. My OS is a Debian 5 (Lenny), and I would like to upgrade it too.
    Since there are not binary packages for Debian 6 (Squeeze), I have thought to migrate to Ubuntu 10.04 LTS.
    Unlucky there is not a Zimbra 6.0.1 binary package for Ubuntu 10.04, so I cannot install it on the Ubuntu server and then copy files from the Debian server.
    I can export and reimport accounts via zmmailbox, but it takes too much time.
    Any suggestions are welcome. Thank you in advance.

  2. #2
    Join Date
    Jul 2011
    Posts
    55
    Rep Power
    4

    Default

    Check out ZeXtras Migration Tool, a free tool for Zimbra to Zimbra migrations..

    With it the steps for your migration would be fairly straightforward:

    - Upgrade your Debian server to Zimbra 6.0.7+ (required by the tool)
    - Prepare your Ubuntu server, install Zimbra 7.1.1 on it and configure it (same configuration than the Debian server)
    - Create your domains on the new server and use Zextras Migration Tool to move your data to your new server.

    You can find the ZeXtras Migration Tool in the Zimbra Gallery: ZeXtras Migration Tool | Zimbra :: Gallery


    Have a nice day,

    Cine - Community Manager - ZeXtras
    www.zextras.com

  3. #3
    Join Date
    Jun 2011
    Posts
    52
    Rep Power
    4

    Default

    Quote Originally Posted by Kilath View Post
    Hi, I would like to upgrade my Zimbra (Open Source Edition) server version 6.0.1 to 7.1.1. My OS is a Debian 5 (Lenny), and I would like to upgrade it too.
    Since there are not binary packages for Debian 6 (Squeeze), I have thought to migrate to Ubuntu 10.04 LTS.
    Unlucky there is not a Zimbra 6.0.1 binary package for Ubuntu 10.04, so I cannot install it on the Ubuntu server and then copy files from the Debian server.
    I can export and reimport accounts via zmmailbox, but it takes too much time.
    Any suggestions are welcome. Thank you in advance.
    How many accounts and total mailbox size?

  4. #4
    Join Date
    Jul 2011
    Posts
    8
    Rep Power
    4

    Default

    Quote Originally Posted by Yves Pires View Post
    How many accounts and total mailbox size?
    Hi, there are about 200 accounts with a total mailbox size of about 50GB.

  5. #5
    Join Date
    Jun 2011
    Posts
    52
    Rep Power
    4

    Default

    200 accounts

    Dual Core 2Ghz~/ 3GB Ram / Decent HD can handle that

    Try a fresh install Ubuntu/Zimbra in a new server and use export/import scripts

  6. #6
    Join Date
    Jul 2011
    Posts
    8
    Rep Power
    4

    Default

    Quote Originally Posted by Yves Pires View Post
    and use export/import scripts
    Hi Yves, which ones? zmmailbox?
    Thank you
    Last edited by Kilath; 07-13-2011 at 08:14 AM.

  7. #7
    Join Date
    Dec 2011
    Posts
    6
    Rep Power
    3

    Default

    Quote Originally Posted by Yves Pires View Post
    use export/import scripts
    Can you show or link for me the good script?

    I will appreciate.

  8. #8
    Join Date
    Jun 2011
    Posts
    52
    Rep Power
    4

    Default

    i know this method takes longer to migrate mail servers.. but always work and i hate upgrades


    #### create list emails

    sudo -u zimbra /opt/zimbra/bin/zmprov -l gaa >> /root/bkpzimbra/listaemails.txt

    ##### create lista SSHA(pass emails)

    sudo -u zimbra /opt/zimbra/bin/zmprov -l gaa -v | grep "userPassword:" > /root/bkpzimbra/listasenhas.txt

    sudo -u zimbra /opt/zimbra/bin/zmprov -l gaa -v | grep "zimbraMailDeliveryAddress\|userPassword:"

    zmprov -l gaa -v | grep "zimbraMailDeliveryAddress\|userPassword:" | awk '{if (NR%2==0){print $0;}else{printf "%s,", $0;}}'

    ######create list domains

    sudo -u zimbra /opt/zimbra/bin/zmprov gad >> /root/bkpzimbra/listadominios.txt

    ##### restore mailbox

    sudo -u zimbra /opt/zimbra/bin/zmmailbox -z -m emails@domain.com postRestURL "//?fmt=tgz&resolve=modify" /root/bkpzimbra/mbox/email@domain.com.tgz

    ##### backup mailbox

    sudo -u zimbra /opt/zimbra/bin/zmmailbox -z -m email@domain.com getRestURL "//?fmt=tgz" > /root/bkpzimbra/mbox/email@domain.com.tgz

    ##### create email e pass

    sudo -u zimbra /opt/zimbra/bin/zmprov ca email@domain.com abc123 displayName 'email@domain.com'

    ##### change pass

    sudo -u zimbra /opt/zimbra/bin/zmprov ma email@domain.com userPassword '{SSHA}zIpohRlfvLdrZNLBl5rITFPnd/lTfpt9'

    #### create domain

    sudo -u zimbra /opt/zimbra/bin/zmprov cd domain.com

    ### change domain status - closed - active

    sudo -u zimbra /opt/zimbra/bin/zmprov md domain.com zimbraDomainStatus 'closed'

    automated scripts: hotzimbra - Zimbra Hot Backup Restore Tool - Google Project Hosting

  9. #9
    Join Date
    Dec 2011
    Posts
    6
    Rep Power
    3

    Default

    Quote Originally Posted by Yves Pires View Post
    .. but always work and i hate upgrades
    Thank you, it's useful but I recommend for you:
    Platform and OS Independent ZCS to ZCS Migration Using Rsync - Zimbra :: Wiki

Similar Threads

  1. From 6.04 -> 6.08, Ubuntu 8.04 -> 10.04, 32bit -> 64bit
    By acesuares in forum Administrators
    Replies: 10
    Last Post: 12-13-2011, 09:38 AM
  2. Did I miss something? (Zimbra GA 6.0.8 on Ubuntu 10.04)
    By vpetersson in forum Installation
    Replies: 2
    Last Post: 10-26-2010, 07:29 AM
  3. Old Backup stay in TO_DELETE status and no clearing..
    By bartounet in forum Administrators
    Replies: 0
    Last Post: 10-05-2010, 08:40 AM
  4. admin consol blank after 5.0.3 upgarde
    By maumar in forum Administrators
    Replies: 6
    Last Post: 03-21-2008, 06:16 AM
  5. zmperditionctl start asking for password
    By k7sle in forum Administrators
    Replies: 32
    Last Post: 02-20-2008, 11:13 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
  •