Results 1 to 6 of 6

Thread: [SOLVED] Backing up /opt/zimbra. Error using rsync.

  1. #1
    AutootuA's Avatar
    AutootuA is offline Senior Member
    Join Date
    Aug 2007
    Location
    Nashville, GA
    Posts
    72
    Rep Power
    7

    Default [SOLVED] Backing up /opt/zimbra. Error using rsync.

    ***RSYNC NEWBIE***

    I getting ready to move to a new server. I'm trying to back up /opt/zimbra for the move.

    Running:
    Code:
    rsync -e ssh -avzH /opt/zimbra root@192.168.78.17:/media/sda3/opt/zimbra
    Gets me:
    Code:
    building file list ... rsync: link_stat "//opt/zimbra" failed: No such file or directory (2)
    done
    
    sent 29 bytes  received 20 bytes  14.00 bytes/sec
    total size is 0  speedup is 0.00
    rsync error: some files could not be transferred (code 23) at main.c(892) [sender=2.6.8]
    I've tried different combinations but nothing is working. I know this is something simple. Can someone toss me a bone???
    Version 7.1.2_GA_3268.NETWORK

  2. #2
    LMStone's Avatar
    LMStone is offline Moderator
    Join Date
    Sep 2006
    Location
    477 Congress Street | Portland, ME 04101
    Posts
    1,368
    Rep Power
    10

    Default

    Quote Originally Posted by AutootuA View Post
    ***RSYNC NEWBIE***

    I getting ready to move to a new server. I'm trying to back up /opt/zimbra for the move.

    Running:
    Code:
    rsync -e ssh -avzH /opt/zimbra root@192.168.78.17:/media/sda3/opt/zimbra
    Gets me:
    Code:
    building file list ... rsync: link_stat "//opt/zimbra" failed: No such file or directory (2)
    done
    
    sent 29 bytes  received 20 bytes  14.00 bytes/sec
    total size is 0  speedup is 0.00
    rsync error: some files could not be transferred (code 23) at main.c(892) [sender=2.6.8]
    I've tried different combinations but nothing is working. I know this is something simple. Can someone toss me a bone???
    You don't need the "-e ssh" portion; the way the destination target is formatted rsync knows it's doing ssh to a remote host.

    Hope that helps,
    Mark

  3. #3
    AutootuA's Avatar
    AutootuA is offline Senior Member
    Join Date
    Aug 2007
    Location
    Nashville, GA
    Posts
    72
    Rep Power
    7

    Default

    Thanks for the reply. I'm still getting an error.

    Running:

    Code:
    rsync -avzH /opt/zimbra root@192.168.78.17:/media/sda3/opt/zimbra
    Gets:
    Code:
    root@192.168.78.17's password: 
    building file list ... rsync: link_stat "//opt/zimbra" failed: No such file or directory (2)
    done
    
    sent 29 bytes  received 20 bytes  10.89 bytes/sec
    total size is 0  speedup is 0.00
    rsync error: some files could not be transferred (code 23) at main.c(892) [sender=2.6.8]
    Version 7.1.2_GA_3268.NETWORK

  4. #4
    LMStone's Avatar
    LMStone is offline Moderator
    Join Date
    Sep 2006
    Location
    477 Congress Street | Portland, ME 04101
    Posts
    1,368
    Rep Power
    10

    Default

    Are you running rsync as root on the Zimbra machine?

    Hope that helps,
    Mark

  5. #5
    cmcbride is offline Intermediate Member
    Join Date
    Aug 2007
    Posts
    19
    Rep Power
    7

    Default

    I dont remember for Ubuntu, but on redhat you have to enable rsync after installation. Did you edit the /etc/xinetd.d/rsync file and set it to 'enabled' on the destination server? If you have to change that file restart xinetd with "/etc/init.d/xinetd restart".

  6. #6
    AutootuA's Avatar
    AutootuA is offline Senior Member
    Join Date
    Aug 2007
    Location
    Nashville, GA
    Posts
    72
    Rep Power
    7

    Default

    I was running as root but through a SSH session. Run from the actual server, the command ran fine.

    Code:
    rsync -avzH /opt/zimbra root@192.168.78.17:/media/sda3/opt/zimbra
    Version 7.1.2_GA_3268.NETWORK

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. [SOLVED] problem taking opensource backup
    By bluebriarrose in forum Administrators
    Replies: 13
    Last Post: 08-07-2009, 01:02 PM
  3. Help!!! Moving ZCS does not work!
    By ASebestian in forum Migration
    Replies: 7
    Last Post: 02-12-2009, 06:06 PM
  4. Replies: 3
    Last Post: 01-21-2008, 03:47 PM
  5. Backups - RSYNC & copying files issue
    By sternfan in forum Administrators
    Replies: 8
    Last Post: 12-20-2007, 12:51 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
  •