On Thu, 3 Jan 2008, Manuel Mely wrote:-

>Hi everyone.
>
>Can somebody point me in how to create a local opensuse updates
>mirror. I tried using rsync without success.
>
>rsync -avzP --delete --exclude rpm/x86_64/ --exclude rpm/src/
>--exclude rpm/ppc/ rsync.opensuse.org::opensuse-updates/10.3/
>/var/ftp/mirrors/opensuse/10.3/opensuse-updates
>
>also this:
>
>rsync -av --exclude rpm/x86_64/ --exclude rpm/src/ --exclude rpm/ppc/
>rsync.opensuse.org::opensuse-updates/10.3/
>/var/ftp/mirrors/opensuse/10.3/opensuse-updates

I use this:

rsync -av --partial --progress --exclude rpm/ppc --exclude rpm/ppc64 \
 --exclude deltas/*.ppc.delta.rpm --exclude deltas/*.ppc64.delta.rpm \
 --safe-links --delete --delete-excluded \
 rsync://ftp-1.gwdg.de/pub/opensuse/update/10.3/ \
 "/path/to/updates/10.3/"

and it works. In fact, I've been using it as a part of a script that
mirrors the update servers since before 9.3. Not sure exactly when I
started using it, but the script does include releases all the way back
to 8.0.


Regards,
        David Bolt

-- 
Team Acorn: http://www.distributed.net/ OGR-P2 @ ~100Mnodes RC5-72 @ ~15Mkeys
SUSE 10.1 32bit  | openSUSE 10.2 32bit | openSUSE 10.3 32bit | openSUSE 11.0a0
SUSE 10.1 64bit  | openSUSE 10.2 64bit | openSUSE 10.3 64bit
RISC OS 3.6      | TOS 4.02            | openSUSE 10.3 PPC   |RISC OS 3.11
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to