Skip to content
Prev 68915 / 398506 Next

Keep R-mirror updated

Hi,

I have a R mirror on www.termix.ufv.br/CRAN

I try to keep it updated using rsync and cron.

rsync -rzuav --progress --delete 
cran.r-project.org::CRAN /var/www/termix/mirrors/linux/CRAN/ &

But all times the rsync abort with error:

95.99kB/s    0:00:02      548960  77%  110.50kB/s    0:00:01rsync: read error: 
Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(515)
rsync: connection unexpectedly closed (391811 bytes received so far) 
[generator]
rsync error: error in rsync protocol data stream (code 12) at io.c(359)

And it dont made my mirror updated.

Exist any method more efficient to made it updated?

Thanks
Ronaldo