[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: using jigdo or/and rsync to keep images freshen.



* shirish ??????????????? <shirishag75@gmail.com> [101216 21:21]:
> Hi all,
>  Disregard the above, re-read the mirroring page and this is what it
> should look like -
> 
> rsync --times --links --hard-links --partial -archive -verbose
> -compress --block-size=8192 --exclude=source/
> --exclude='*businesscard*.iso' --exclude='*netinst*.iso'
> --exclude=alpha/ --exclude=arm/ --exclude=hppa/ --exclude=hurd/
> --exclude=ia64/ --exclude=m68k/ --exclude=mips/ --exclude=mipsel/
> --exclude=powerpc/ --exclude=s390/ --exclude=sh/ --exclude=sparc/
> --exclude=i386/ --include='*-dvd.iso' ftp.de.debian.org::debian-cd/ .
> 
> or something like this. Now I wish there was a simpler way/command to do this.

Mirroring a repository is one matter, and is fairly complicated.  

But if your need is simply to keep a set of CD/DVD images up to date,
you really should be using jigdo (that is, jigdo-lite).  Jigdo minimizes
the load on the servers, and guarantees an accurate image.

You can write a set of bash scripts to automate the jigdo process, and
you even could run them via cron.  Note that several instances of
jigdo may run in parallel.

RLH


Reply to: