Results 1 to 7 of 7

Thread: Network version disaster recovery steps.

  1. #1
    dhallweb is offline Active Member
    Join Date
    Mar 2006
    Posts
    39
    Rep Power
    9

    Default Network version disaster recovery steps.

    I have gone through the documentation and somehow I am missing something. I am testing a building level disaster recovery, this test involves: 1ea brand new hardware loaded with RHEL4, 1 backup tape containing the last full backup run by zmbackup -f -a all -t /some/path, and the tar ball of the Zimbra I am currently running zcs-NETWORK-3.0.1_GA_160.RHEL4.tgz.
    I am going live soon and need to get this process documented before I do, I have tried it a few times and gotten partial results but not a full operational server. Does somebody have the steps documented any where? Using the backup documentation is leaving me a little confused as to how to install Zimbra in this scenario in relation to starting Zimbra or not, restoring the LDAP and so on. I am kind of running out of time to figure this out and get all the other things done to switch over to the new server.

  2. #2
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default

    What's going wrong? Things won't start, data missing, ???

    Couple of things to check:

    In addition to /opt/zimbra, make sure you're restoring changes to:
    /etc/sudoers
    /etc/passwd, /etc/shadow, /etc/group
    /etc/ld.so.conf
    /etc/ld.so.conf.d/zimbra
    /etc/logrotate.d/zimbra
    /etc/init.d/zimbra plus any symlinks needed in /etc/rc*.d

    Verify that the zimbra, postfix and postdrop users/groups have the same IDs on the source and destination boxes.

    Try running zmfixperms after the untar (could take a long time)


    Quote Originally Posted by dhallweb
    I have gone through the documentation and somehow I am missing something. I am testing a building level disaster recovery, this test involves: 1ea brand new hardware loaded with RHEL4, 1 backup tape containing the last full backup run by zmbackup -f -a all -t /some/path, and the tar ball of the Zimbra I am currently running zcs-NETWORK-3.0.1_GA_160.RHEL4.tgz.
    I am going live soon and need to get this process documented before I do, I have tried it a few times and gotten partial results but not a full operational server. Does somebody have the steps documented any where? Using the backup documentation is leaving me a little confused as to how to install Zimbra in this scenario in relation to starting Zimbra or not, restoring the LDAP and so on. I am kind of running out of time to figure this out and get all the other things done to switch over to the new server.
    Bugzilla - Wiki - Downloads - Before posting... Search!

  3. #3
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    18

    Default

    On the new server you'll want to install the same version of zimbra with the same domain(s). Then use the restore command to re-add the data and the accounts.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  4. #4
    dhallweb is offline Active Member
    Join Date
    Mar 2006
    Posts
    39
    Rep Power
    9

    Default

    Quote Originally Posted by marcmac
    What's going wrong? Things won't start, data missing, ???
    I am gettting different results from different ways I have tried this restore based on the documentation. The documentation seems to jump around a bit, this is probably a function of my lack of understanding of how Zimbra works. This is an emergency installation so I am just rying to get things going the best I can and plan on learning more later, hence my hopes to find a step by step like: install Zimbra, do A, then B then C. The information you have provided is helpful I will log it in my work order system for the future use.

  5. #5
    dhallweb is offline Active Member
    Join Date
    Mar 2006
    Posts
    39
    Rep Power
    9

    Default

    Quote Originally Posted by KevinH
    On the new server you'll want to install the same version of zimbra with the same domain(s). Then use the restore command to re-add the data and the accounts.
    So my working server is called mail.domain.com, I install Zimbra on a new server as mail.domain.com and get it operational. Then I run:
    zmrestore -a all -t /pathto/backupdirectoryfrommail.domain.com

    Correct?

  6. #6
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    18

    Default

    Quote Originally Posted by dhallweb
    So my working server is called mail.domain.com, I install Zimbra on a new server as mail.domain.com and get it operational. Then I run:
    zmrestore -a all -t /pathto/backupdirectoryfrommail.domain.com

    Correct?
    I think you want:

    zmrestore -ca -a all -t /pathto/backupdirectoryfrommail.domain.com

    The -ca will trigger the account creation as well.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  7. #7
    bobby is offline Zimbra Employee
    Join Date
    Nov 2005
    Posts
    518
    Rep Power
    10

    Default

    actually i think it provisions the account no matter what, so you can't restore into an existing account. the -ca option uses the --prefix to create the accounts with a slightly different name.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 23
    Last Post: 01-24-2013, 03:44 PM
  2. Zimbra NE: Disaster Recovery blues
    By generic31 in forum Administrators
    Replies: 7
    Last Post: 07-25-2007, 12:33 AM
  3. Disaster Recovery on a Multi Server Configuration
    By dlochart in forum Administrators
    Replies: 2
    Last Post: 04-14-2007, 05:08 AM
  4. Disaster Recovery Steps for v3.1.4 Network Edition
    By ThorGoLucky in forum Administrators
    Replies: 0
    Last Post: 09-08-2006, 11:08 AM
  5. Network Version on CentOS/Ubuntu
    By vangundypw in forum Installation
    Replies: 3
    Last Post: 06-26-2006, 03:10 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
  •