I used to be able to create a local mirror of Rocky Linux 9.3 repo using rsync, but it appear that dl.rockylinux.org has removed the rsync option now. (I’m not really sure when they actually removed it, but trying to update my local mirror and it turns out that rsync isn’t a supported protocol anymore.)
So, given this, what other options do I have that I can use as a workaround that would have effectively the same functionality has rsync --delete option?
How many systems are you upgrading, that you need a local mirror? If you’re doing less than 100, then don’t use Rocky’s bandwidth for that. If that is the case, then:
rsync -vrlptDSH \
--exclude=*.~tmp~ \
--exclude=... \ # specify an --exclude=... for each thing you want to exclude
--delete-delay --delay-updates msync.rockylinux.org::rocky-vault/
All of the mirrors on that site – if you actually click on them, and then navigate to version 9.3 – will only have a readme file there stating that everything has been moved to dl.rockylinux.org, which, per my OP, doesn’t support rsync anymore (at least not according to their mirrors page).
So it’s not the number of systems that’s the issue, but it’s the number of times, that’s the issue.
(i.e. as VMs are created and destroyed and re-created because I am testing stuff out), I figured that it would be easier on the Rocky Linux bandwidth where I would download the packages ONCE from them (when I am updating), and then that way, as I am creating/destroying/re-creating Rocky Linux VMs/LXCs, I can point those VMs/LXCs to my local repo mirror instead.)
Ultimately saves on their bandwidth, and mine as well.
(e.g. trying to figure out how to pass a GPU through to a Rocky LXC = trial and error process = lots of re-running system updates over and over again.)
Thank you for finding the msync.rockylinux.org target for me. I appreciate that!
I’ll have to try that.
As always, you guy’s help is AWESOME!
(P.S. The weird thing is that rsync worked for Rocky Linux 9, but not 9**.3**. So strange why they would remove those packages (or at least have the mirrors remove them).)