Results 1 to 4 of 4

Thread: Zimbra Full Backup and Restore???

  1. #1
    jgao is offline Senior Member
    Join Date
    Dec 2005
    Posts
    74
    Rep Power
    9

    Default Zimbra Full Backup and Restore???

    I did followings on one FC4 box where zimbra running perfectly:

    1. copy whole /opt/zimbra
    2. copy /var/spool/cron/zimbra
    3. copy zimbra scripts and links from init.d directories

    Restored 1, 2, 3 to another new built FC4 box, exactly the same. When I reboot the machine, and check zimbra by "zmcontrol status", it said:

    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException jian.cirrata.net:389)

    I cleaned every process related to zimbra, and tried to start the zimbra again. I got promp asking password for LDAP.

    Host jian.cirrata.net
    Starting ldap...Password:

    Why???

  2. #2
    hikenboots is offline Intermediate Member
    Join Date
    Dec 2005
    Posts
    17
    Rep Power
    9

    Default

    Throwing my $.02 in here...did you install zimbra on the new box first or just restore the files/directories? Not sure from your post.
    Last edited by hikenboots; 01-18-2006 at 10:08 PM.

  3. #3
    SeanG is offline Zimbra Employee
    Join Date
    Jan 2006
    Posts
    6
    Rep Power
    9

    Default

    In addition to installing the packages, ZCS's install.sh script does a lot of stuff to set up the system for operation (cron jobs, zimbra user creation, etc). The LDAP startup script is calling sudo to start slapd with the correct user and permissions. If the zimbra user isn't in the /etc/sudoers file, it might prompt you for the zimbra user's password when it tries to do the sudo.

    The short answer is to move the copied /opt/zimbra directory out of the way, run install.sh to set everything up, then put your /opt/zimbra over it. That isn't guaranteed to work either, as there are host-specific configuration items all over the config keys and directory.

    What exactly are you hoping to accomplish by copying the existing installation over from another working box? Are you testing restoration of messages after a rebuild of a failed server, or are you trying to clone out your ZCS install to other machines?

    Hope this helps
    Sean

  4. #4
    jgao is offline Senior Member
    Join Date
    Dec 2005
    Posts
    74
    Rep Power
    9

    Default Thanks

    After I added /etc/sudoers and /var/log/zimbra to the backup and restore scripts, it works.

    This way I can quickly and EASILY restore the crashed mail server box.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 210
    Last Post: 01-17-2012, 01:19 AM
  2. Restore single account failed from full backup
    By fmodola in forum Administrators
    Replies: 4
    Last Post: 06-20-2007, 05:27 AM
  3. 3 testing: LDAP: 389 Failed when restore zimbra
    By victorLeong in forum Administrators
    Replies: 15
    Last Post: 05-24-2007, 06:45 AM
  4. Backup and Restore Zimbra OS Version
    By ejms07 in forum Migration
    Replies: 5
    Last Post: 04-10-2007, 08:56 PM
  5. Restore Zimbra backup data ?
    By vpoorboy in forum Administrators
    Replies: 5
    Last Post: 02-21-2006, 09:06 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
  •