Re: Rsync
On Fri, May 25, 2007 at 09:32:23PM +0100, Jonathan (ac3bf1) wrote:
> Thanks, for all your answers guys,
> i know i should have checked the rsync manual,
> but I would rather get a 100% sure answer from one of you.
The documentation is also quite sure :-)
> This is my current script:
> #!/bin/bash
> rsync -avt \
> --exclude=alpha/ \
> --exclude=arm/ \
> --exclude=hppa/ \
> --exclude=hurd/ \
> --exclude=ia64/ \
> --exclude=m68k/ \
> --exclude=mips/ \
> --exclude=mipsel/ \
> --exclude=multi-arch/ \
> --exclude=powerpc/ \
> --exclude=s390/ \
> --exclude=sh/ \
> --exclude=sparc/ \
> --exclude=source/ \
> ftp.de.debian.org::debian-cd/* /var/www/mirror/debian-cd/
If you mean that you want only amd64 and i386, check the help page first
(not very easy to found, I must admit) that recommends --include
http://www.debian.org/CD/mirroring/#exclude
> (i know loads of excludes for now... will include more distros soon)
> from the rsync manual
> --del an alias for --delete-during
> --delete delete extraneous files from dest dirs
> --delete-before receiver deletes before transfer (default)
> --delete-during receiver deletes during xfer, not before
> --delete-after receiver deletes after transfer, not before
> --delete-excluded also delete excluded files from dest dirs
>
> which delete would you suggest I use?
It depends on the disk capacity you can allocate, whether you want to
make 4.0_r0 available until all the 4.0_r1 isos (example) are downloaded
on your server, and so on..
-before being the less disk capacity demanding, -after being the most
disk capacity demanding.
Regards,
--
Simon Paillard
Reply to:
- References:
- Rsync
- From: "Jonathan (ac3bf1)" <ac3bf1@gmail.com>
- Re: Rsync
- From: Olleg Samoylov <olleg@mipt.ru>
- Re: Rsync
- From: "Jonathan (ac3bf1)" <ac3bf1@gmail.com>