[Spacewalk-list] Need for a lightweight mirroring solution
Michael DeHaan
mdehaan at redhat.com
Wed Jul 23 13:45:56 UTC 2008
Miroslav Suchý wrote:
> Mike McCune wrote:
>> Mirror F9 i386 everything repository:
>>
>> pulp mirror
>> --input=http://download.fedora.redhat.com/pub/fedora/linux/releases/9/Everything/i386/os/Packages/\
>>
>> --output=file:///var/www/repo/f9-i386
>>
>> Mirror Red Hat Enterprise Linux version 5 to an ISO:
>>
>> pulp mirror --input=rhn://rhel-i386-server-5
>> --output=iso://root/RHEL5-PACKAGES.ISO
>>
> Not interested for me. I ignore this.
>
>> Mirror Fedora 9 into a Spacewalk Channel:
>>
>> pulp mirror
>> --input=http://download.fedora.redhat.com/pub/fedora/linux/releases/9/Everything/i386/os/Packages/\
>>
>> --output=spacewalk://somespacewalk.example.com --username=admin
>> --password=redhat
> What is wrong on:
> mkdir /tmp/mirror;
> wget -nd -r -l 1 -A .rpm -P /tmp/mirror \
> http://download.fedora.redhat.com/pub/fedora/linux/releases/9/Everything/i386/os/Packages/
>
> rhnpush -d/tmp/mirror --username=admin --password=redhat
> --server=somespacewalk.example.com
>
> Hmm, it seems pulp is not for me. It seems to my as duplicate and
> redundant work. I will stay with bash and wget.
>
For Fedora, you are doing too much work. Use yum's reposync for that.
This is discussing the RHEL use case. If Pulp isn't for you, that's
fine, though there is a definite need for people with a large amount of
systems to administer to have such tooling around repo mirroring.
--Michael
More information about the Spacewalk-list
mailing list