Updates to mirror information, wiki links out of date

This commit is contained in:
Louis Abel 2022-11-16 22:25:26 -07:00
parent 8387342398
commit 84e8d81bef
Signed by: label
GPG Key ID: 6735C0E1BD65D048
3 changed files with 8 additions and 4 deletions

View File

@ -8,7 +8,7 @@ made for public consumption.
Running this script will convert an existing CentOS 8 system to Rocky Linux 8.
## [mirrorsync](./mirror/) -- Mirror Script
## [mirrorsync](./mirror/) -- Mirror Script and Configurations
Example script for keeping a public or private mirror in sync.
Example script and configuration notes for keeping a public or private mirror in sync.

View File

@ -3,7 +3,7 @@ Rocky Mirror Scripts
Scripts and snippets for mirror admins.
Please read https://docs.rockylinux.org/guides/add_mirror_manager/ for further information on setting up a Rocky mirror.
Please read https://docs.rockylinux.org/guides/mirror_management/add_mirror_manager/ for further information on setting up a Rocky mirror.
## example.crontab
@ -12,3 +12,5 @@ A few suggestions for setting up a crontab for syncing.
## mirrorsync.sh
Example script for keeping a public or private mirror in sync.
You may modify this to exclude specific repositories or directories from your mirror (for example, you can exclude "source" by changing the `--exclude` to `--exclude={'*.~tmp~', 'source'}`).

View File

@ -6,7 +6,7 @@
# The latest version of this script can be found at:
# https://github.com/rocky-linux/rocky-tools
#
# Please read https://docs.rockylinux.org/en/rocky/8/guides/add_mirror_manager
# Please read https://docs.rockylinux.org/guides/mirror_management/add_mirror_manager/
# for further information on setting up a Rocky mirror.
#
# Copyright (c) 2021 Rocky Enterprise Software Foundation
@ -41,6 +41,8 @@ rsync_run(){
}
# You can change v to q if you do not want detailed logging
# You may also add additional excludes if you don't want to provide certain
# repositories or architectures.
opts=(-vrlptDSH --exclude="*.~tmp~" --delete-delay --delay-updates)
# Please use a mirror geographically close to you for initial sync,