yum local repository howto?

Scott Kindley ckindley at indy.rr.com
Tue Jan 6 20:11:59 UTC 2004


On Tue, 2004-01-06 at 12:12, Jim Thario wrote:
> Scott Kindley wrote:
> 
> > 
> > 00 12 * * * /usr/bin/rsync -av --partial --stats --exclude headers
> > --exclude debug mirror.dulug.duke.edu::archive/pub/fedora/linux/core
> > /var/ftp/pub/fedora/linux
> > 
> 
> Do you need a '--delete' option in there also to keep your mirror from 
> growing bigger than the source?
> 
> 

I suppose in order to keep the destination side from keeping files they
may remove one could do this. But if the source side removes the entire
tree for one reason or another then when rsync runs it would delete the
files on my destination side as well resulting in a lot of lost time and
the repository would be gone on the destination side.

So no I don't think I would need to add the --delete option unless
someone has more information to offer.

Scott






More information about the fedora-list mailing list