Downloading a great number of files from different rsync servers for good loadbalancing and high efficiency.

Karl O. Pinc kop at meme.com
Sat Apr 4 02:20:33 MDT 2015


On Sat, 4 Apr 2015 15:21:21 +0800
Hongyi Zhao <hongyi.zhao at gmail.com> wrote:

> I'm using Debian, I want to make a local repository which can let me
> install packages more conveniently.

Your solution will not work for mirroring debian since it does
not do a 2-stage mirroring process.  This is
described in: https://www.debian.org/mirror/ftpmirrors

Further, your solution is a bad idea for many reasons.  If
you want to know more about this I suggest asking on
the Debian mailing lists or on the #debian irc
channel on irc.freenode.net.

Better would be to use the Debian recommended ftpsync
script.  This can be found at:
https://ftp-master.debian.org/ftpsync.tar.gz
The instructions are at:
https://www.debian.org/mirror/ftpmirrors

The Debian people know how to best mirror Debian.
Best to follow their guidance.  Depending on
your purposes you might not even want a mirror,
you might be better served with a cache.
Again, ask the Debian people for guidance.

Regards,


Karl <kop at meme.com>
Free Software:  "You don't pay back, you pay forward."
                 -- Robert A. Heinlein


More information about the rsync mailing list