Results 1 to 6 of 6

Thread: HowTo Restore from /opt/zimbra files?

  1. #1
    Join Date
    Nov 2006
    Location
    Vienna, Austria (Europe)
    Posts
    59
    Rep Power
    8

    Question HowTo Restore eMails from (4.0.5 OS) /opt/zimbra files?

    When I tried to Upgrade on Debian from 4.0.5_GA_518 to 4.5.4_GA_763
    I received the following error messages:

    2007-04-10 ZIMBRA FAILED UPGRADE 4.0.5_GA_518 to 4.5.4_GA_763

    /tmp/zmsetup.log.6681
    -----------------------------------------------------------------
    Setting defaults...
    Setting local config zimbra_java_home to /opt/zimbra/java
    *** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_java_home='/opt/zimbra/java'
    Setting defaults from existing config...
    Getting local config zimbra_server_hostname
    Getting local config ldap_master_url
    Getting local config ldap_port
    Getting local config ldap_host
    Getting local config ldap_root_password
    Getting local config mysql_root_password
    Getting local config mysql_logger_root_password
    Getting local config zimbra_mysql_password
    Getting local config zimbra_logger_mysql_password
    Getting local config tomcat_java_heap_memory_percent
    Getting local config mysql_memory_percent
    Done
    Upgrading from 4.0.5_GA_518 to 4.5.4_GA_763
    Stopping zimbra services
    Verifying /opt/zimbra/conf/my.cnf
    Starting mysql
    UPGRADE FAILED - exiting
    -----------------------------------------------------------------

    Tried multiple times to upgrade and also to reinstall the old version and put /opt/zimbra back in place, but had no success. Now on the running machine I just did a clean install of 4.5.4 which was OK and recreated the users.

    Now I have two backup files (tar archives)
    1. a clean one from a few weeks ago (which contains the configuration, LDAP and MYSQL passwords and install logs from the old 4.0.5 version)
    2. a dirty one from today (the 4.5.4 install.sh script played a little bit with it like shown above)

    At this moment I have only access to a spare Linux Server running Fedora Core (not exactly the same Debian Version the old server was running).

    How can I get the emails out of the 'dirty' tar file out with the help of the clean files. (eMails and attachments with IMAP access would be enough).

    Has anyone gone the hard way with extracting the LDAP and mysql database and files to get a single email / or mailbox out of the Open Source Edition?

    Any help very welcome.
    Last edited by easytouch; 04-10-2007 at 12:23 PM.

  2. #2
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    Easy touch-
    Read you Private messages

  3. #3
    Join Date
    Mar 2008
    Posts
    8
    Rep Power
    7

    Default

    I too have a similar problem as Easy touch - and would be interested in learning the fix/resolution. Recovering email and attachments would be great - contacts and accounts would be even better.

  4. #4
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Welcome to the forums

    Would be grateful if you had started a new thread, and not resurrect a old one

    Do you have a backup ? What Zimbra version and O/S are you running ?

  5. #5
    Join Date
    Mar 2008
    Posts
    8
    Rep Power
    7

    Default

    We were running ZCS 4.5 Open Source edition on CentOS.

    Unfortunately the backup we had is not recent. We do however have the current /opt/zimbra dir intact from the broken server. Saving emails and attachments would be great - contacts and accounts would be even better.

    Sorry for resurrecting an old thread - however the previous poster seemed to offer a solution, which we may be interested in.

    Thanks for any help or advice!

  6. #6
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    If your /opt/zimbra is intact and it is just the rest of the server that is broken, then you should be able to perform a dummy install of ZM on a new server and then copy in your backup. Take a look at this Open Source Edition Backup Procedure - Zimbra :: Wiki and remember Wiki is your friend

Similar Threads

  1. 3 testing: LDAP: 389 Failed when restore zimbra
    By victorLeong in forum Administrators
    Replies: 15
    Last Post: 05-24-2007, 07:45 AM
  2. BUILD FAILED error is killing me
    By hanysys in forum Developers
    Replies: 11
    Last Post: 05-11-2007, 07:09 AM
  3. Replies: 8
    Last Post: 02-27-2007, 04:10 AM
  4. svn version still won't start
    By kinaole in forum Developers
    Replies: 0
    Last Post: 10-04-2006, 07:47 AM
  5. Replies: 16
    Last Post: 09-07-2006, 07:39 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
  •