iBackup, rsync, and TS-419P

Backup, Restore, Q-Back 25s/35s, Netbak Replicator

iBackup, rsync, and TS-419P

Postby skyguy94 » Mon Feb 01, 2010 3:32 am

Hi,
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>@206.221.210.71::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?

Thanks,
Ritch
skyguy94
New here
 
Posts: 2
Joined: Mon Jan 11, 2010 2:50 am
NAS Model: TS-401T

Re: iBackup, rsync, and TS-419P

Postby skyguy94 » Tue Feb 02, 2010 12:29 am

Ok,
I got to the bottom of it. The rsync script used by the web interface is located in '/etc/init.d/configRR.sh'. After enabling the DEBUG flag, It's apparent that rsync is being invoked with the '-a' flag, which is shorthand for a bunch of things, to include configuring '-l'. Editing the script by removing the '-a' and replacing it with '-r -z' for recursion and compression causes the script to run correctly for iBackup.

Blue Skies,
Ritch
skyguy94
New here
 
Posts: 2
Joined: Mon Jan 11, 2010 2:50 am
NAS Model: TS-401T

Re: iBackup, rsync, and TS-419P

Postby toozie » Fri Feb 26, 2010 9:06 pm

can anywhone help me get rsync working with idrive ? i use firmware Version 3.2.3 build 0212T

I cant get it working ? :cry:

best regard
Lars
toozie
New here
 
Posts: 2
Joined: Fri Feb 26, 2010 9:00 pm
NAS Model: TS-401T

Re: iBackup, rsync, and TS-419P

Postby toozie » Fri Feb 26, 2010 9:31 pm

:D :D :D :D :D :D :D :D

Now i got it working , i used winscp to auto replace -a with -r -z in etc/init.d/rsyncRR.sh

save & reboot




Thanks skyguy94
toozie
New here
 
Posts: 2
Joined: Fri Feb 26, 2010 9:00 pm
NAS Model: TS-401T

Re: iBackup, rsync, and TS-419P

Postby Linuks83 » Fri Feb 11, 2011 7:26 am

I had a similar issue today. Setting the protocol to 2.8 via '--protocol=28' did not help. Not even using --partial worked, but it did allow me to see that the transfer was failing at 19% through. What i did was move the offending file out of the way, on the recipient side, by renaming it to {file}.hold and re-running the script. This allowed the file to synchronize.

It appears that the file was corrupted in such a way on the recipient side that --partial was not able to correct the discrepancy. Completely syncing the file again, worked.

BTW, this file was a little over 1 GB in size.

-- cheers
Linuks83
First post
 
Posts: 1
Joined: Fri Feb 11, 2011 7:25 am
NAS Model: QBack-35S

Re: iBackup, rsync, and TS-419P

Postby ludo167 » Tue Jul 26, 2011 3:27 am

hi Everybody!!

I read your thread and i am really interrested to share your experience en ibackup and idrive. In fact, i am looking for an online backup/storage provider.

I used different provider before without sucess ( sloww, limited functionalities), i want to use with Qnap system.
I tried Elephant drive.. ididn't like this sytem.. I don't why Qnap choose this one. i Didn't know before Qnap promote them..

So from now, for us, with our qnap, we can use, Amazon S3 and Elephant Drive (included System) but also we can use Crashplan.

I am using Crashplan, great software only for backup not more.. And i want more ( Sharing functions, Webdav access, True Web Access).

So i am really interressting in Idrive and i Backup.

Ibackup for Functionalities and Linux compatibilities
and Idrive for price, functionalities and unlimited GB but it seems that idrive it's nos compatible with Linux. Is it True ? Not possible to use Rsync functions with an idrive account ?

I need your lights!!

thanks,
ludo167
Getting the hang of things
 
Posts: 50
Joined: Sat Nov 28, 2009 10:03 pm
NAS Model: TS-401T


Return to Backup & Restore

Who is online

Users browsing this forum: No registered users and 3 guests