Results 1 to 2 of 2

Thread: rsync /opt/zimbra/backup to another machine

  1. #1
    rsaeks is offline Active Member
    Join Date
    Jan 2013
    Location
    Chicago, IL
    Posts
    38
    Rep Power
    2

    Default rsync /opt/zimbra/backup to another machine

    Hi there,

    I'm looking to rsync our Zimbra backup directory to another host just to have it on another physical box for DR purposes. I've run through some of the wiki articles on backup but am getting stuck with generating the keypair and having them function as expected. My setup is as follows:

    ZCA Release zca-8.0.4.1151542
    ZCS Build 8.0.4.GA.5737.UBUNTU10.64 NETWORK edition.
    My Zimbra server as the "source" machine.
    The destination is another box with SSH enabled.

    I've created a user zimbra on the destination box. All local commands on the zimbra box are executed as user zimbra. From my zimbra server I've run a functioning rsync of /opt/zimbra/backup to the destination using a password so I know the functionality of rsync works. I've run:

    ssh-copy-id -i ~/.ssh/id_rsa.pub zimbra@destination and verified I see the public key on my destination box. After verifying running "ssh destination" as the zimbra user I still am being prompted for a password. I also used id_dsa.pub as well with no luck. Permissions on the destination folder are 700 for .ssh and 600 for known_hosts.

    I'm sure this is something simple I'm missing.

  2. #2
    quanah is offline Zimbra Employee
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,279
    Rep Power
    10

    Default

    If you are going to use rsync on ZCS8.0.4, make sure you pass it the -S option

    If you turn on debugging on the ssh server on the machine you are syncing to, you can get information as to why it is prompting. I do this routinely. Usually it is a permissions error on a file or directory that sshd is accessing.
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 07-07-2012, 04:05 AM
  2. Backup zimbra server with rsync
    By Bullz3y3 in forum Administrators
    Replies: 6
    Last Post: 04-26-2012, 02:41 AM
  3. Replies: 12
    Last Post: 11-21-2011, 11:12 AM
  4. ZCS-NE : rsync /opt/zimbra/backup
    By breverend in forum Administrators
    Replies: 13
    Last Post: 10-04-2011, 03:38 PM
  5. Backup to another machine with rsync stag
    By ochid in forum Administrators
    Replies: 0
    Last Post: 12-09-2009, 11:59 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
  •