Complete.Org: Mailing Lists: Archives: discussion: March 1999:
Re: [aclug-L] Mirroring debian (as asked in last nights meeting)
Home

Re: [aclug-L] Mirroring debian (as asked in last nights meeting)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: aclug-L@xxxxxxxxxxxx
Cc: trbloom@xxxxxxxxxxxxxxxxxx
Subject: Re: [aclug-L] Mirroring debian (as asked in last nights meeting)
From: John Goerzen <jgoerzen@xxxxxxxxxxxx>
Date: 18 Mar 1999 14:09:14 -0600
Reply-to: aclug-L@xxxxxxxxxxxx

cabrubak@xxxxxxxxxxxxxxxxxx writes:

> At last night meeting I mentioned wanting to set-up a personal mirror of
> slink (main,contrib,non-free,non-us)

Here is what I use, and generally run with the "altserver" option.  It 
will snag binary-alpha from slink and potato.

#!/bin/bash

if [ "x$1" = "xaltserver" ]; then
        SERVER=debian.midco.net::debian/
        DELETE=--delete
#       SERVER=ftp.eecs.umich.edu::debian/
#       DELETE=
else
        SERVER=someotherserver::debian/
        DELETE=--delete
fi

echo "SERVER: $SERVER"
echo "DELETES: $DELETE"

#rsync -Cavz --delete -e ssh /home/jgoerzen/aclug/ \
#       gesundheit.cs.twsu.edu:/home/jgoerzen/public_html/aclug


rsync -HCatvvz $DELETE --partial -e ssh --stats --progress\
        --exclude 'other_kernels' \
        --exclude 'indices' \
        --exclude 'orphaned' \
        --exclude 'bo' \
        --exclude 'bo-unstable' \
        --exclude 'bo-updates' \
        --exclude '*_sparc.deb' \
        --exclude '*_arm.deb' \
        --exclude '*_m68k.deb' \
        --exclude '*_i386.deb' \
        --exclude 'hamm' \
        --exclude '*_powerpc.deb' \
        --exclude '/contrib' \
        --exclude '/non-free' \
        --exclude '*ms-dos*' \
        --exclude 'private' \
        --exclude 'binary-sparc' \
        --exclude 'proposed-updates' \
        --exclude 'binary-arm' \
        --exclude 'binary-hurd' \
        --exclude 'binary-hurd-i386' \
        --exclude 'binary-i386' \
        --exclude 'binary-m68k' \
        --exclude 'binary-powerpc' \
        --exclude 'disks-sparc' \
        --exclude 'disks-m68k' \
        --exclude 'disks-powerpc' \
        --exclude 'disks-arm' \
        --exclude 'Incoming' \
        --exclude 'WebPages' \
        --exclude 'local' \
        --exclude '.mirrorinfo' \
        --exclude 'Contents-arm*' \
        --exclude 'Contents-hurd*' \
        --exclude 'Contents-sparc*' \
        --exclude 'Contents-powerpc*' \
        --exclude 'Contents-m68k*' \
        --exclude 'source' \
        --exclude '.in.*' \
        $SERVER /ftp/debian/
---
This is the Air Capital Linux Users Group discussion list.  If you
want to unsubscribe, send the word "unsubscribe" to
aclug-L-request@xxxxxxxxxxxx.  If you want to post to the list, send your
message to aclug-L@xxxxxxxxxxxx.



[Prev in Thread] Current Thread [Next in Thread]