Results 1 to 3 of 3

Thread: Upgrade 5.0.7 to 5.0.10 rollback

  1. #1
    hazmitia is offline Trained Alumni
    Join Date
    Jun 2008
    Posts
    9
    Rep Power
    7

    Default Upgrade 5.0.7 to 5.0.10 rollback

    Hi,

    Testing a roll back procedure to a failed upgrade, I came up with this:

    1. Before starting upgrade from 5.0.7 to 5.0.10 backup /opt/zimbra. I use cpio to copy the content of /opt/zimbra to /opt/zimbra.backup

    # cd /opt/zimbra
    # find . -print | cpio -pmudv /opt/zimbra.backup

    2. Perform upgrade to 5.0.10 and follow the prompts.

    # cd /var/tmp/zcs-NETWORK-5.0.10_GA_2638.RHEL4_64.20081003025447
    # ./install.sh -x

    3. Once upgrade is finished verify the new version.

    $ zmcontrol -s

    Release 5.0.10_GA_2638.RHEL4_64_20081003025447 RHEL4_64 NETWORK edition

    $ rpm -qa | grep -i zimbra

    zimbra-core-5.0.10_GA_2638.RHEL4_64-20081003025447
    zimbra-spell-5.0.10_GA_2638.RHEL4_64-20081003025447
    zimbra-logger-5.0.10_GA_2638.RHEL4_64-20081003025447
    zimbra-ldap-5.0.10_GA_2638.RHEL4_64-20081003025447
    zimbra-proxy-5.0.10_GA_2638.RHEL4_64-20081003025447
    zimbra-mta-5.0.10_GA_2638.RHEL4_64-20081003025447
    zimbra-apache-5.0.10_GA_2638.RHEL4_64-20081003025447
    zimbra-archiving-5.0.7_GA_2450.RHEL4_64-20080630182541
    zimbra-convertd-5.0.10_GA_2638.RHEL4_64-20081003025447
    zimbra-store-5.0.10_GA_2638.RHEL4_64-20081003025447
    zimbra-snmp-5.0.10_GA_2638.RHEL4_64-20081003025447

    From the administration gui: Help Desk -> About Zimbra Version

    4. If upgrade failed, start rollback. Stop Zimbra

    $ zmcontrol stop

    5. Restore files from backup

    # cd /opt/zimbra.backup
    # find . -print | cpio -pmudv /opt/zimbra

    6. Update RPM database only with previous packages. If you don't perform this step 'zmcontrol -v' will report version 5.0.10 as it gets this information from the RPM database.

    # cd /var/tmp/zcs-NETWORK-5.0.7_GA_2450.RHEL4_64.20080630182541/packages
    rpm -U --justdb --oldpackage zimbra-core-5.0.7_GA_2450.RHEL4_64-20080630182541.x86_64.rpm
    rpm -U --justdb --oldpackage zimbra-ldap-5.0.7_GA_2450.RHEL4_64-20080630182541.x86_64.rpm
    rpm -U --justdb --oldpackage zimbra-logger-5.0.7_GA_2450.RHEL4_64-20080630182541.x86_64.rpm
    rpm -U --justdb --oldpackage zimbra-mta-5.0.7_GA_2450.RHEL4_64-20080630182541.x86_64.rpm
    rpm -U --justdb --oldpackage zimbra-snmp-5.0.7_GA_2450.RHEL4_64-20080630182541.x86_64.rpm
    rpm -U --justdb --oldpackage zimbra-store-5.0.7_GA_2450.RHEL4_64-20080630182541.x86_64.rpm
    rpm -U --justdb --oldpackage zimbra-apache-5.0.7_GA_2450.RHEL4_64-20080630182541.x86_64.rpm
    rpm -U --justdb --oldpackage zimbra-spell-5.0.7_GA_2450.RHEL4_64-20080630182541.x86_64.rpm
    rpm -U --justdb --oldpackage zimbra-proxy-5.0.7_GA_2450.RHEL4_64-20080630182541.x86_64.rpm
    rpm -U --justdb --oldpackage zimbra-archiving-5.0.7_GA_2450.RHEL4_64-20080630182541.x86_64.rpm
    rpm -U --justdb --oldpackage zimbra-convertd-5.0.7_GA_2450.RHEL4_64-20080630182541.x86_64.rpm

    7. Verify RPM update

    rpm -qa | grep -i zimbra
    zimbra-convertd-5.0.7_GA_2450.RHEL4_64-20080630182541
    zimbra-spell-5.0.7_GA_2450.RHEL4_64-20080630182541
    zimbra-logger-5.0.7_GA_2450.RHEL4_64-20080630182541
    zimbra-ldap-5.0.7_GA_2450.RHEL4_64-20080630182541
    zimbra-store-5.0.7_GA_2450.RHEL4_64-20080630182541
    zimbra-archiving-5.0.7_GA_2450.RHEL4_64-20080630182541
    zimbra-core-5.0.7_GA_2450.RHEL4_64-20080630182541
    zimbra-snmp-5.0.7_GA_2450.RHEL4_64-20080630182541
    zimbra-proxy-5.0.7_GA_2450.RHEL4_64-20080630182541
    zimbra-mta-5.0.7_GA_2450.RHEL4_64-20080630182541
    zimbra-apache-5.0.7_GA_2450.RHEL4_64-20080630182541

    8. Start Zimbra

    $ zmcontrol start

    9. Verify version

    $ zmcontrol -v

    Release 5.0.7_GA_2450.RHEL4_64_20080630182541 RHEL4_64 NETWORK edition

    From the administration gui: Help Desk -> About Zimbra Version

    10. Back to square one! Hope that helps.

  2. #2
    goran is offline Active Member
    Join Date
    Nov 2006
    Posts
    43
    Rep Power
    8

    Default

    This is what I needed hazmitia!
    I'll test it soon and let you know how it works for me.

  3. #3
    goran is offline Active Member
    Join Date
    Nov 2006
    Posts
    43
    Rep Power
    8

    Default

    It did work great.

    Thanks again

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Upgrade instructions in 5.0.10 too muddy to understand
    By johnshen in forum Installation
    Replies: 4
    Last Post: 12-06-2008, 06:19 AM
  2. Upgrade 5.0.8 to 5.0.10
    By highpointe in forum Installation Help
    Replies: 5
    Last Post: 10-13-2008, 02:26 PM
  3. Upgrade from 5.0.3 to 5.0.7 losted add-in
    By btsang in forum Zimbra Connector for Outlook
    Replies: 2
    Last Post: 07-10-2008, 02:45 PM
  4. [SOLVED] Something new after 5.0.7 Upgrade
    By Protack in forum Administrators
    Replies: 7
    Last Post: 07-10-2008, 12:22 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
  •