Rsync from raspbmc to osmc and apt repo issues


I’ve just received my Pi 2 and I’ve found topics here on how to migrate data from raspbmc to osmc. Problem is, I tried using rsync but it fails with this error:

sending incremental file list
rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]: Broken pipe (32)
rsync: connection unexpectedly closed (9 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(605) [sender=3.0.9]

I can connect to the pi 2 without problems via ssh. Rsync installed on both pi’s.

Anyone knows what could be the problem here?

Another little thing: I’ve experienced problems during the week-end due to the domain being ddos’sed, wouldn’t it be be better to host the apt repo on another domain or just provide a backup repository to avoid problems in case it happens again?

Thanks in advance

What are the rsync command you are running?


rsync -avz -e ssh --progress .kodi osmc@

Question and answer number 3 is about the “rsync error: error in rsync protocol data stream (code 12) at io.c(605)” error. Might be something helpful there.

My bad. I now realized that I was specifying root as the destination folder instead of the current user home, without the slash it works.