I'm trying to use rsync to upload a mailbox archive from my home system to the system that I usually use for handling my mail.
I'm already successfully using rsync in the opposite direction.
What happens is that rsync gets part of the way through the transfer (it does about 3.9Mb out of 75Mb) and then it just hangs. I've looked at the files it has transferred and the point at which it has stopped and can see no oddities in permissions or anything like that.
The command I'm using is:-
rsync --rsh='/usr/bin/ssh -l chris -x' --recursive \ --exclude=in/ --exclude=li/ --exclude=mfolder \ /home/chris/MailArchive halkidiki.areti.com:
It's normally run by cron in the middle of the night but I'm trying it just now from the command line and the same problem seems to be there.
In my mail I'm getting the following error from cron:-
Read from remote host halkidiki.areti.com: Connection timed out rsync: writefd_unbuffered failed to write 4 bytes: phase "unknown": Broken pipe rsync error: error in rsync protocol data stream (code 12) at io.c(836)
This error arrives 23 minutes (consistent for two nights anyway) after the cron command is run. When run from the command line it looks like it's going to take just as long to fail.
Has anyone got any ideas what might be going wrong?