Local mirror via rsync is not working.

Started by jcem7777, April 12, 2021, 02:14:24 PM

Previous topic - Next topic
* I read below article & using my own local mirror
https://forum.opnsense.org/index.php?topic=12732.0

* now a days local mirroring is not working for me & here is my command line in cent os 7.8
(It worked well before a month or before)
rsync -vaz --exclude=FreeBSD:10:amd64/ --exclude=FreeBSD:10:i386/ --exclude=FreeBSD:11:amd64/ --exclude=FreeBSD:11:armv6/ --exclude=FreeBSD:11:i386/ --exclude=releases/19.1/ --exclude=releases/19.7/ --exclude=releases/20.1/ rsync://pkg.opnsense.org/opnsense-dist /var/www/html/opnsense

* below is the error result.
rsync: failed to connect to pkg.opnsense.org (89.149.211.205): Connection timed out (110)
rsync: failed to connect to pkg.opnsense.org (2001:1af8:4f00:a005:5::): Network is unreachable (101)
rsync error: error in socket IO (code 10) at clientserver.c(125) [Receiver=3.1.2]


* What can I do?


Quote from: franco on April 12, 2021, 02:27:47 PM
Sync from Leaseweb, e.g. http://mirror.wdc1.us.leaseweb.net/


Cheers,
Franco

Thanks it works well^^
rsync -vaz --exclude=FreeBSD:10:amd64/ --exclude=FreeBSD:10:i386/ --exclude=FreeBSD:11:amd64/ --exclude=FreeBSD:11:armv6/ --exclude=FreeBSD:11:i386/ --exclude=releases/19.1/ --exclude=releases/19.7/ --exclude=releases/20.1/ rsync://mirror.wdc1.us.leaseweb.net/opnsense /var/www/html/opnsense