OPNsense Forum

English Forums => General Discussion => Topic started by: jcem7777 on April 12, 2021, 02:14:24 pm

Title: Local mirror via rsync is not working.
Post by: jcem7777 on April 12, 2021, 02:14:24 pm
* I read below article & using my own local mirror
https://forum.opnsense.org/index.php?topic=12732.0 (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)
Code: [Select]
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.
Code: [Select]
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?
Title: Re: Local mirror via rsync is not working.
Post by: franco on April 12, 2021, 02:27:47 pm
Sync from Leaseweb, e.g. http://mirror.wdc1.us.leaseweb.net/


Cheers,
Franco
Title: Re: Local mirror via rsync is not working.
Post by: jcem7777 on April 12, 2021, 07:16:56 pm
Sync from Leaseweb, e.g. http://mirror.wdc1.us.leaseweb.net/


Cheers,
Franco

Thanks it works well^^
Code: [Select]
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