I wanted to understand the updated mirroring policies in Katello 4.3+. I found Katello 4.3+ mirroring policy which was useful.
In that thread, the user has gone with the following:
So I have reset all my recently added repos which I have set on “Complete Mirroring” back to “Content Only” leaving me only the EPEL repos with Additive and the RedHat repos with Complete.
If I understand correctly, EPEL removes old packages when an update is released. Historically, I used ‘mirror on sync’ to ‘false’ for EPEL - the idea being that I had sufficient space/bandwidth to store the packages. I was happy to keep the old packages in the repo - that way if I had a requirement to rebuild a server I know I could download the same version of the package if I needed it. So I think ‘Additive’ is the equivalent policy for Katello 4.3+
However, I’m still not clear about mirror_complete and mirror_content_only. Does someone have an example that explains when I should choose one of these over the other? For example, a repo such as HPE Software Delivery Repository contains many versions of the same package - so unlike EPEL I think I can mirror it (mirror on sync = true on older versions). How do I chose between mirror_complete or mirror_content_only - what attributes in the repo am I looking for?
Thanks!