Hello Everyone,
I've been fighting with rsync this weekend to no avail unfortunately. I set up an Rsync server through Optware on an Asus router. That has a 3TB USB drive plugged into it. It's fully configured with one Rsync module and no authentication.
I then configured an rsync task in FreeNAS but found it was failing. From there, I decided to test running it manually from the command line.
My configuration is as follows:
It then uploads about 1GB of data in 20,000 files (mostly backed up websites with lots of PHP files). It will then randomly fail with this error:
Once I get that, I'm pretty much cooked; re-running the rsync command will transfer another 20 or so files and then fail immediately. I can't seem to get anymore data to sync than that. If I delete all the data in the backup location, I can start again just fine and it will fail roughly at the same point.
I've tried removing the -z flag which makes no difference at all.
I also tried running the same data to the rsync server from DeltaCopy and that ran for hours without any hiccups. I stopped it after it transferred ~100GB of data successfully.
I even tried running the *exact* same command DeltaCopy was running from the FreeNAS command line and it fails in exactly the same way. No matter what I do, I can't get FreeNAS to complete it's rsync.
As a complete Linux n00b, I'm pretty much at a loss here. It's making me want to put my tail between my legs and run back to Windows right now
Any and all advice/comments/questions are greatly appreciated, and thanks for reading!
I've been fighting with rsync this weekend to no avail unfortunately. I set up an Rsync server through Optware on an Asus router. That has a 3TB USB drive plugged into it. It's fully configured with one Rsync module and no authentication.
I then configured an rsync task in FreeNAS but found it was failing. From there, I decided to test running it manually from the command line.
My configuration is as follows:
- Source to be backed up: /mnt/tank/data/users
- Destination server IP: 192.168.0.214
- Server module name: backup
- rsync 3.0.9 on both client and server
- FreeNAS 9.2.1.5
Code:
rsync -avzh --progress "/mnt/tank/data/users" "192.168.0.214::backup"
It then uploads about 1GB of data in 20,000 files (mostly backed up websites with lots of PHP files). It will then randomly fail with this error:
Code:
rsync: writefd_unbuffered failed to write 135 bytes to socket [sender]: Broken pipe (32) rsync: read error: Connection reset by peer (54) rsync error: error in rsync protocol data stream (code 12) at io.c(764) [sender=3.0.9]
Once I get that, I'm pretty much cooked; re-running the rsync command will transfer another 20 or so files and then fail immediately. I can't seem to get anymore data to sync than that. If I delete all the data in the backup location, I can start again just fine and it will fail roughly at the same point.
I've tried removing the -z flag which makes no difference at all.
I also tried running the same data to the rsync server from DeltaCopy and that ran for hours without any hiccups. I stopped it after it transferred ~100GB of data successfully.
I even tried running the *exact* same command DeltaCopy was running from the FreeNAS command line and it fails in exactly the same way. No matter what I do, I can't get FreeNAS to complete it's rsync.
As a complete Linux n00b, I'm pretty much at a loss here. It's making me want to put my tail between my legs and run back to Windows right now
Any and all advice/comments/questions are greatly appreciated, and thanks for reading!