R
ruppelju
Guest
Hi All,
I'm fairly new to linux and I'm encountering a problem that I can't seem to figure out. I've tried some of the solutions I've seen on the forums with no success.
Here's my situation: I'm trying to backup all my data from one NAS hard drive to another (they are both Dlink DNS storage devices). I'm trying to use Rsync . . .when I run my code it starts transferring files, but after a little while (usually between 10 -15min) it stops and gives me the following error message:
Code:
rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]:
Broken pipe (32)
rsync: connection unexpectedly closed (265874 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at
io.c(601) [sender=3.0.7]
This is the code I am trying to use (I've used ##'s for the passwords and ip addresses):
mount -t cifs -o username=###,password=### //192.168.##.###/Volume_1 /mnt/backup1/
mount -t cifs -o username=###,password=### //192.168.##.###/Volume_1 /mnt/backup2/
rsync -rltDz --exclude=.recycle --exclude=.DS_Store /mnt/backup1/ /mnt/backup2/
Any ideas? Thanks very much in advance.
I'm fairly new to linux and I'm encountering a problem that I can't seem to figure out. I've tried some of the solutions I've seen on the forums with no success.
Here's my situation: I'm trying to backup all my data from one NAS hard drive to another (they are both Dlink DNS storage devices). I'm trying to use Rsync . . .when I run my code it starts transferring files, but after a little while (usually between 10 -15min) it stops and gives me the following error message:
Code:
rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]:
Broken pipe (32)
rsync: connection unexpectedly closed (265874 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at
io.c(601) [sender=3.0.7]
This is the code I am trying to use (I've used ##'s for the passwords and ip addresses):
mount -t cifs -o username=###,password=### //192.168.##.###/Volume_1 /mnt/backup1/
mount -t cifs -o username=###,password=### //192.168.##.###/Volume_1 /mnt/backup2/
rsync -rltDz --exclude=.recycle --exclude=.DS_Store /mnt/backup1/ /mnt/backup2/
Any ideas? Thanks very much in advance.