i want to download a SVN repo over rsync
$ time rsync --recursive --info=progress2 svn.code.sf.net::p/jdownloader-svn-mirror-milahu/code/ jdownloader/; echo "return code: $?"
22,755,798 99% 67.28kB/s 0:05:30 (xfr#1017, ir-chk=1000/2072)
rsync: connection unexpectedly closed (89489 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(231) [receiver=3.3.0]
rsync: connection unexpectedly closed (36093 bytes received so far) [generator]
rsync error: error in rsync protocol data stream (code 12) at io.c(231) [generator=3.3.0]
real 5m32.112s
user 0m0.233s
sys 5m20.318s
return code: 12
this repo has over 1.5GB, and i get only 0.2GB (0.02GB compressed)
this seems to be a server-side timeout on sourceforge.net of 330 seconds (5m30s)
rsync --timeout=99999has no effectrsync --partialhas no effectopenrsync seems to work, but is slow
no, also openrsync fails to fetch the repo.
it runs for 3 hours, but downloads only 200MB of 1.5GB.
what does help is
rsync --ignore-existingwhich makes
rsyncrun much fasterby skipping comparisons of file size and mtime.
in my case (1.5GB repo) this is fast enough
to sync faster than the server timeout (330 seconds).
still, rsync can fail due to local problems.
in my case, my old SSD disk blocked the write operation for multiple minutes.
this was a problem with my old SSD disk.
removing the last partially downloaded file took multiple minutes.
find-newest-file.sh
continue the download
now, with a complete download, a "noop run" only takes 30 seconds.
Hi,
Thank you for reaching out to SourceForge Support!
I am looking into your issue. What I have found so far is that I was able to successfully rsync that svn repo on the first try.
I would appreciate having your help to look into a few things before escalating this.
Excerpts on those options from
man rsync:same
yes, on my end, now it also works without
--ignore-existing, as expected.a full download takes 10 minutes, no timeout.
seems like this was some temporary issue...
when rsync was failing, i also tried
--partialbut no change.i guess the other options dont help here.
meanwhile, i have pushed new revisions to the SVN repo
by creating an empty hooks/pre-revprop-change script
and by calling
maybe that fixed the issue... probability is low, but higher than zero.
Hi,
Thank you for your feedback
With your issue resolved, this ticket will be closed.
Sincerely,
SourceForge Support