Hi all, ? ? ? I tried to get my query of how to use rsync by the mailing list debian-user at lists.debian.org but the answers were not satisfactory. You can see the whole thread starting from http://lists.debian.org/debian-user/2010/12/msg00651.html What I want to do is to keep the weekly amd64 squeeze build , from t its http://cdimage.debian.org/cdimage/weekly-builds/amd64/iso-dvd/debian-testing-amd64-DVD-1.iso The above is what I want to achieve. But I'm facing problems as I don't know how to use rsync Looking from http://www.debian.org/CD/mirroring/rsync-mirrors and http://www.debian.org/CD/mirroring/#exclude the command seems to come something like this :- 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=5.0.7/ --exclude=5.0.7-live/ --exclude=i386/ --include='*-dvd.iso' ftp.de.debian.org::debian-cd/ . While ftp.de.debian.org has only 5.0.7 images (not something I'm looking for) The Taiwan mirror seems to have everything . I had to look at quite a few mirrors as most of them have Debian Lenny (5.0.x series) but not Debian squeeze (6.0.x series). ftp://ftp.tw.debian.org/debian-cdimage/weekly-builds/amd64/iso-dvd/debian-testing-amd64-DVD-1.iso This is the one I want to rsync. Only DVD-1 does anybody know how can I achieve that and if there is a simpler way to do it (perhaps something that I don't know ?) Looking forward to answers. -- ? ? ? ? ? Regards, ? ? ? ? ? Shirish Agarwal? ????? ??????? ? My quotes in this email licensed under CC 3.0 http://creativecommons.org/licenses/by-nc/3.0/ http://flossexperiences.wordpress.com 065C 6D79 A68C E7EA 52B3? 8D70 950D 53FB 729A 8B17
edacval at gmail.com
2010-Dec-17 04:32 UTC
using rsync to keep squeeze amd64 image freshened.
On 12/17/2010 05:12 AM, shirish ????? wrote:> Hi all, I tried to get my query of how to use rsync by the mailing > list debian-user at lists.debian.org but the answers were not > satisfactory. You can see the whole thread starting from > http://lists.debian.org/debian-user/2010/12/msg00651.html > > What I want to do is to keep the weekly amd64 squeeze build , from t > its > http://cdimage.debian.org/cdimage/weekly-builds/amd64/iso-dvd/debian-testing-amd64-DVD-1.iso > > The above is what I want to achieve. But I'm facing problems as I > don't know how to use rsync > > Looking from http://www.debian.org/CD/mirroring/rsync-mirrors and > http://www.debian.org/CD/mirroring/#exclude > > the command seems to come something like this :- > > 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=5.0.7/ --exclude=5.0.7-live/ --exclude=i386/ > --include='*-dvd.iso' ftp.de.debian.org::debian-cd/ . > > While ftp.de.debian.org has only 5.0.7 images (not something I'm > looking for) > > The Taiwan mirror seems to have everything . I had to look at quite > a few mirrors as most of them have Debian Lenny (5.0.x series) but > not Debian squeeze (6.0.x series). > > ftp://ftp.tw.debian.org/debian-cdimage/weekly-builds/amd64/iso-dvd/debian-testing-amd64-DVD-1.iso > > This is the one I want to rsync. Only DVD-1 does anybody know how > can I achieve that and if there is a simpler way to do it (perhaps > something that I don't know ?) > > Looking forward to answers.None of 4 Taiwan official rsync mirrors offers ::debian-cdimage module. You can mirror from official debian rsync server: rsync -aHPv --block-size=8192 cdimage.debian.org::cdimage/weekly-builds/amd64/iso-dvd/ /YOUR_DOWNLOAD_DIR/
In-line :- 2010/12/17 <edacval at gmail.com>: <snipped>> None of 4 Taiwan official rsync mirrors offers ::debian-cdimage module. > You can mirror from official debian rsync server: > rsync -aHPv --block-size=8192 > cdimage.debian.org::cdimage/weekly-builds/amd64/iso-dvd/ /YOUR_DOWNLOAD_DIR/Hey, its working. $ rsync -aHPv --block-size=8192 cdimage.debian.org::cdimage/weekly-builds/amd64/iso-dvd/ . MOTD: Welcome to the rsync archive at Academic Computer Club, Ume\#345 University. receiving file list ... 13 files to consider ./ MD5SUMS.large 520 100% 507.81kB/s 0:00:00 (xfer#1, to-check=11/13) SHA1SUMS.large 584 100% 570.31kB/s 0:00:00 (xfer#2, to-check=10/13) SHA256SUMS.large 776 100% 757.81kB/s 0:00:00 (xfer#3, to-check=9/13) SHA512SUMS.large 1288 100% 1.23MB/s 0:00:00 (xfer#4, to-check=8/13) debian-testing-amd64-DVD-1.iso 6029312 0% 28.39kB/s 45:50:49 But it seems that it will download the whole DVD repository, I just want DVD-1 and keep syncing to it every week. I do not want to mirror (as people do to serve others) but just sync for myself. I did a CTRL+C and tried again. ~/beta2rsync$ rsync -aHPv --block-size=8192 cdimage.debian.org::cdimage/weekly-builds/amd64/iso-dvd/ . MOTD: Welcome to the rsync archive at Academic Computer Club, Ume\#345 University. receiving file list ... 13 files to consider ./ MD5SUMS.large 520 100% 507.81kB/s 0:00:00 (xfer#1, to-check=11/13) SHA1SUMS.large 584 100% 570.31kB/s 0:00:00 (xfer#2, to-check=10/13) SHA256SUMS.large 776 100% 757.81kB/s 0:00:00 (xfer#3, to-check=9/13) SHA512SUMS.large 1288 100% 1.23MB/s 0:00:00 (xfer#4, to-check=8/13) debian-testing-amd64-DVD-1.iso 6029312 0% 28.39kB/s 45:50:49 ^Crsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(543) [generator=3.0.7] rsync error: received SIGUSR1 (code 19) at main.c(1306) [receiver=3.0.7] 12:08:30shirish at deb-home:~/beta2rsync$ rsync -aHPv --block-size=8192 cdimage.debian.org::cdimage/weekly-builds/amd64/iso-dvd/ . MOTD: Welcome to the rsync archive at Academic Computer Club, Ume\#345 University. receiving file list ... 13 files to consider ./ debian-testing-amd64-DVD-1.iso 9568256 0% 31.15kB/s 41:45:13 See 4th line from last, it says "13 files to consider" . I have to admit, this is fun , although you can see at what speed I am downloading :P -- ? ? ? ? ? Regards, ? ? ? ? ? Shirish Agarwal? ????? ??????? ? My quotes in this email licensed under CC 3.0 http://creativecommons.org/licenses/by-nc/3.0/ http://flossexperiences.wordpress.com 065C 6D79 A68C E7EA 52B3? 8D70 950D 53FB 729A 8B17
If you only want a file (or directory) just complete the link that Ed gave you:> cdimage.debian.org::cdimage/weekly-builds/amd64/iso-dvd/[name of the file/directory] /YOUR_DOWNLOAD_DIR/Le 17 d?c. 2010 ? 07:42, shirish ????? a ?crit :> In-line :- > > 2010/12/17 <edacval at gmail.com>: > > <snipped> > >> None of 4 Taiwan official rsync mirrors offers ::debian-cdimage module. >> You can mirror from official debian rsync server: >> rsync -aHPv --block-size=8192 >> cdimage.debian.org::cdimage/weekly-builds/amd64/iso-dvd/ /YOUR_DOWNLOAD_DIR/ >> > But it seems that it will download the whole DVD repository, I just > want DVD-1 and keep syncing to it every week.Best regards, Vitorio
In-line :- 2010/12/17 Mac User FR <macuserfr at free.fr>:> If you only want a file (or directory) just complete the link that Ed gave you: > >> cdimage.debian.org::cdimage/weekly-builds/amd64/iso-dvd/[name of the file/directory] /YOUR_DOWNLOAD_DIR/<snipped for brevity> Hi Vitorio, Thank you for your help :)> Best regards, > > Vitorio-- ? ? ? ? ? Regards, ? ? ? ? ? Shirish Agarwal? ????? ??????? ? My quotes in this email licensed under CC 3.0 http://creativecommons.org/licenses/by-nc/3.0/ http://flossexperiences.wordpress.com 065C 6D79 A68C E7EA 52B3? 8D70 950D 53FB 729A 8B17