Forum archive
rsync turnkey mirror
Hi,
Been trying to rsync the mirror depository of Turnkey Linux into my test KVM host using the following command:
rsync -avzhe --include='*jessie.iso' --exclude='*' --progress ftp.halifax.rwth-aachen.de/turnkeylinux/images/iso/ /var/lib/libvirt/images/ISOs/Turnkey/
This is the error I get Any ideas?
sending incremental file list
rsync: change_dir "/ftp.halifax.rwth-aachen.de/turnkeylinux/images/iso" failed: No such file or directory (2)
sent 20 bytes received 12 bytes 64.00 bytes/sec
total size is 0 speedup is 0.00
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.1]
I've tried different servers and they report the same failure more or less.
Goal is to get only the jessie ISOs without the signatures or anything else.
Any ideas?
Thanks
There are some issues with your command:
rsync --include="*jessie-amd64.iso" --exclude="*" --progress \ -avzh rsync://ftp.halifax.rwth-aachen.de/turnkeylinux/images/iso/ \ /var/lib/libvirt/images/ISOs/Turnkey/However we can still improve it. "--progress" can be shortened to "-P" and "-z" is not supported by most of our mirrors (the isos don't really compress anyway). Also rather than using "*jessie-amd64.iso" you could instead specifiy the version that you are after. I.e. "*14.0*.iso". That will give you:rsync --include="*14.0*.iso" --exclude="*" -avhP \ rsync://ftp.halifax.rwth-aachen.de/turnkeylinux/images/iso/ \ /var/lib/libvirt/images/ISOs/Turnkey/And I just confirmed that this does work so you should be good to go! :)