I'm trying to use rsync to backup my NAS to iBackup, but it keeps failing, and I'm not certain how to fix it. It fails when I use the administration website, and if I examine the contents of /tmp/rsync-out, the log contains the following:
rsync: The server is configured to refuse --links (-l)
rsync error: requested action not supported (code 4) at clientserver.c(790) [receiver=2.6.9]
rsync: read error: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(759) [sender=3.0.6]
This seems like a straightforward issue, although I don't believe that I have symlinks in the folder tree I am trying to backup because the files were copied from my windows box via the Qmultimedia smb share. As a test, I wanted to sending a single file from the NAS via the shell, but it fails for a different reason. The command I am using is (from root's home folder):
rsync -r -v -z --password=<mypassword> /root/testfile <myaccount>@22.214.171.124::ibackup
The failure message is:
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6]
Everything works fine If I cut and paste the command over to a windows or linux box with rsync installed (The windows version doesn't support the --password option, so I type it when prompted). I thought that my rsync invocation may be suspect, so I also attempted to add a new "target" to the administration website with the "/root/testfile" account as the contents, but it doesn't show up in the website dropdown box.
As is, I'm not sure how to troubleshoot this further. Does anyone have tips or insight?