Rsync Source of AlmaLinux Vault

Hey,

We want to set up private mirrors for the AlmaLinux vault and to make this we need the rsync source, Please help us to find out !!

i wouldn’t use rsync.

# install reposync
dnf -y install yum-utils

# list the repos you have enabled
dnf repolist

# mirror only the latest rpms and xml and remove old ones
reposync --delete -n -p /srv/ --download-metadata --repo=baseos
reposync --delete -n -p /srv/ --download-metadata --repo=appstream
reposync --delete -n -p /srv/ --download-metadata --repo=extras

then point a webserver at /srv and configure clients to use it, for example create
/etc/yum.repos.d/local.repo and disable the rest:

[baseos]
name=AlmaLinux 8 - BaseOS
baseurl=http://192.168.1.2/almalinux/8/baseos/x86_64/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux

[appstream]
name=AlmaLinux 8 - AppStream
baseurl=http://192.168.1.2/almalinux/8/appstream/x86_64/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux

[extras]
name=AlmaLinux 8 - Extras
baseurl=http://192.168.1.2/almalinux/8/extras/x86_64/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux