script rsync to sincronize

Ted Cabeen cabeen at chem.ucsb.edu
Fri Oct 24 17:17:16 BST 2008


Install the debmirror package.  It takes care of everything.  Here's my 
command-line for updating/syncing the mirror (hardy/gutsy only):

debmirror -h mirror.example.com --method=rsync -r :ubuntu -d gutsy -d 
hardy -d gutsy-backports -d gutsy-proposed -d gutsy-security -d 
gutsy-updates -d hardy-backports -d hardy-proposed -d hardy-security -d 
hardy-updates 
--section=main,multiverse,restricted,universe,main/debian-installer 
--arch=i386,amd64 --rsync-options="-aILq --partial --bwlimit=3000" 
--ignore-small-errors /path/to/your/ftp/directory

--Ted

Tiago Santos wrote:
> Hello
> 
> I'm building a Ubuntu mirror but i'm new with rsync. Can anyone tell me 
> the script to use to sync the mirror?
> 
> Thanks
> 



More information about the ubuntu-mirrors mailing list