Results 1 to 2 of 2

Thread: Imapsync

  1. #1
    agarrett5 is offline Intermediate Member
    Join Date
    Oct 2013
    Location
    Tadley
    Posts
    23
    Rep Power
    1

    Default Imapsync

    I am looking at backup solutions for Zimbra OSE. As it doesn't have a built in automated backup I thought I would try IMAPSync as a cronjob. At the moment I am in the test face. I have a physical server (which hope to make go live) and a virtualized zimbra (using virtual box). Both using Ubuntu 12.04 LTS. I have come up against a problem as regards to IMAPsync. I googled the issue and found a link saying it was a bug. https://bugzilla.redhat.com/show_bug.cgi?id=999899 Admittedly this bug is for Fedora rtaher than Ubuntu. I was wondering if anyone knew of a way around it? I appreciate this is an IMAP Sync issue as opposed to Zimbra.

    What I am doing so I don't need the users passwords is I set up a imap_user file with domains and users. Then I have a separate file which uses the administrators password. in the file we have the following:


    #!/bin/bash
    . /opt/Zimbra_Scripts/imap_users #if in the same folder as imap_users e$

    for ((i = 0 ; i < ${#users[@]} ; i++ ))
    do
    /usr/bin/imapsync/imapsync --noauthmd5 --syncinternaldates --subscribe \
    --host1 10.12.14.10 --user1 ${users[$i]} --authuser1 <admin_user> --password1 <admin_password> --ssl1 \
    --host2 10.12.14.130 --user2 ${users[$i]} --authuser2 <admin_user> --password2 <admin_password> --authmech1 login --authmech2 login --debug --ssl2

    done

    nb. I have replaced the admin username and passwords for this forum for security reasons ;-) I know I don't need to state that

    The error I get from running this script is: Undefined subroutine &IO::Socket::SSL::set_ctx_defaults called at /usr/bin/imapsync/imapsync line 2176

    The version of Zimbra I am using on both is: 8.0.6
    The version of IMAPSync is: 1.580
    The version of Ubuntu Server is: 12.04 LTS
    Not using Apparmor
    RAM used on virtual machine is 1GB on a 4GB host
    The phsyical server which we want to put live has 8Gb RAM
    Computer Engineer

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,501
    Rep Power
    57

    Default

    IMAPSYNC is not a ZCS backup solution, it is only a backup for user email and you don't get any of your server configuration - necessary if you want to perform a disaster recovery. Why don't you take a look at some of the backup solutions in the forums and wiki, there's even a 'hot backup' available in the forums IIRC.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. how to use imapsync
    By linuxguru in forum Administrators
    Replies: 20
    Last Post: 01-24-2010, 06:13 AM
  2. more imapsync troubles
    By richard.bessey in forum Migration
    Replies: 2
    Last Post: 09-04-2008, 01:26 PM
  3. KMS imapsync migration
    By rwagter in forum Administrators
    Replies: 2
    Last Post: 07-31-2008, 10:09 AM
  4. Imapsync
    By mclain in forum Administrators
    Replies: 7
    Last Post: 02-21-2008, 08:34 AM
  5. Where is imapsync-ssl?
    By jameztcc in forum Migration
    Replies: 0
    Last Post: 06-15-2007, 10:15 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •