mirror of
https://github.com/rocky-linux/rocky-tools.git
synced 2024-12-26 20:00:55 +00:00
Updates to mirror information, wiki links out of date
This commit is contained in:
parent
8387342398
commit
84e8d81bef
3 changed files with 8 additions and 4 deletions
|
@ -8,7 +8,7 @@ made for public consumption.
|
||||||
|
|
||||||
Running this script will convert an existing CentOS 8 system to Rocky Linux 8.
|
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.
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ Rocky Mirror Scripts
|
||||||
|
|
||||||
Scripts and snippets for mirror admins.
|
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
|
## example.crontab
|
||||||
|
|
||||||
|
@ -12,3 +12,5 @@ A few suggestions for setting up a crontab for syncing.
|
||||||
## mirrorsync.sh
|
## mirrorsync.sh
|
||||||
|
|
||||||
Example script for keeping a public or private mirror in sync.
|
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'}`).
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
# The latest version of this script can be found at:
|
# The latest version of this script can be found at:
|
||||||
# https://github.com/rocky-linux/rocky-tools
|
# 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.
|
# for further information on setting up a Rocky mirror.
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 Rocky Enterprise Software Foundation
|
# 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 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)
|
opts=(-vrlptDSH --exclude="*.~tmp~" --delete-delay --delay-updates)
|
||||||
|
|
||||||
# Please use a mirror geographically close to you for initial sync,
|
# Please use a mirror geographically close to you for initial sync,
|
||||||
|
|
Loading…
Reference in a new issue