Tue, Feb 15, 2011 at 09:36:09PM +0200, Kyriakos Ginis wrote:
> lftp supports HTTP
>
> lftp -c '
> open http://repository.egi.eu:/sw/production/cas/1/current ;
> lcd /your/mirror/directory/current ;
> mirror --only-newer --delete'
Tue, Feb 15, 2011 at 08:41:23PM +0100, Steve Traylen wrote:
> reposync , part of the yum-utils package is the trivial option.
> The more powerful but more complicated solution is mrepo.
I am aware of these tools. But if you had tried mirroring anything
that contain symlinks (read, gLite repositories), then you probably
know that HTTP utilities can't really handle them, so you'll receive
the vast amount of duplicates. Rsync/FTP can, just because they
operate on the proper level, while the whole HTTP stuff tries to guess
from HTML contents using heuristics.
For the YUM-based tools: you, probably, know that not every OS in the
world supports reposync and mrepo: these are from Linux world.
FTP/Rsync are standard and already ported to $anything. Our mirror
servers aren't running Linux and there are some good reasons for it.
--
Eygene Ryabinkin, Russian Research Centre "Kurchatov Institute"
|