[ale] rsync incantation (gentoo)
Keith Hopkins
hne at hopnet.net
Wed Jan 11 15:38:56 EST 2006
Jeff Hubbs wrote:
>What's the right way to use rsync so I can make a local mirror that
>holds not just the portage tree but all that is Gentoo - .isos, portage
>snapshots, stage tarballs?
>
>"rsync -avr distro.ibiblio.org::distros/gentoo/ /var/gentoo_rsync/",
>lifted right out of that server's MOTD example, fails saying "@ERROR:
>Unknown module 'distros'".
>
>"rsync -avz rsync://distro.ibiblio.org/pub/linux/distributions/gentoo/
>gentoo_rsync" merely yields "@ERROR: Unknown module 'pub'", which
>indicates to me that it's not wanting a path but some kind of "module."
>
>
>
Hi Jeff,
First way to resolve this is to check and see what rsync paths are
really available on the server:
> keithh at apollo:~> rsync distro.ibiblio.org::
>
> Welcome to distro.ibiblio.org's rsync server!
>
> You may mirror any of our distributions by using the "distros"
> module. Simply append the name of the distribution you would
> like to use. For example:
>
> rsync -avr distro.ibiblio.org::distros/bluelinux/ /local/path/
>
> If you will, please subscribe to our mirror announcement list:
> http://lists.ibiblio.org/mailman/listinfo/ibiblio-mirrors
>
> If you have problems or questions,
> feel free to mail ftpkeeper at ibiblio.org
>
> Thanks!
>
> arklinux ArkLinux
> conectiva Conectiva Linux
> debian Debian Linux
> elx Elx Linux
> fedora Fedora Linux
> fedora-linux-core Fedora Linux Core
> fedora-linux-updates Fedora Linux Core Updates
> fedora-linux-development Fedora Linux Core Development
> gentoo Gentoo Linux
> mandrake Mandrake Linux
> mandriva Mandriva Linux
> mdkmirrors Mandrake Mirrors
> redhat Redhat Linux
> rpath rpath Linux
> slackware Slackware Linux
> slack390 Slackware Linux for Mainframe Systems
> sorcerer Sorcerer Linux
> stormbringer Stormbringer Linux
> suse Suse Linux
> texstar Texstar
> trinux Trinux
> vectorlinux Vectorlinux
> winlinux WinLinux
> yellowdog Yellowdog Linux
> keithh at apollo:~>
The above text describing to put the distro name after the word distros
seems to be a Big Fat Lie(tm).
This seems to what you need for Gentoo.
>
> keithh at apollo:~> rsync distro.ibiblio.org::gentoo/
> [BFL snipped]
>
> drwxr-xr-x 4096 2005/12/24 01:26:37 .
> drwxr-xr-x 937984 2006/01/11 20:02:47 distfiles
> drwxr-xr-x 4096 2004/09/03 00:47:53 grp
> drwxr-xr-x 4096 2005/06/18 03:06:10 releases
> drwxr-xr-x 4096 2006/01/11 13:02:17 snapshots
> keithh at apollo:~>
Shorten your original command a bit
"rsync -avr distro.ibiblio.org::gentoo/ /var/gentoo_rsync/"
and it will pull everything Gentoo. You probably don't want that in reality, as it is a large fileset. I'm guessing you want either one of the releases or the distfiles.
Run "rsync distro.ibiblio.org::gentoo/releases/" and "rsync distro.ibiblio.org::gentoo/distfiles/" to preview what you are getting.
--
Downunder, and a little to the left
Keith
More information about the Ale
mailing list