Repository mirroring options / disk space

Trying to find a link/description for the 3 mirroring options when adding a repository

We have had another alert that our disk is running low and I keep having to add 20-50G every so often

Reclaiming space doesnt help, so presume it’s down to the mirror type used

Thanks

Hi,

I think you are looking for this part of the documentation: Managing content

Regards

thanks, that’s it. Still unsure which is best to use for minimal disk usage, but think it is likely down to old published content that needs removing, maybe

In general:

  • “Content Only” and “Complete Mirroring” should have about the same disk usage
  • “Additive” can have a higher disk usage in scenarios, where the upstream repository regularly removes old package versions

If disk space is a serious concern, you can also take a look at download policies. Setting repositories to “download on demand” will limit their growth in disk-usage to only the packages that are actually used at your site, though depending on your exact situation, that can lead to problematic situations (e.g. if you have CVs with long “lifetimes” and upstream regularly removes old packages, the package might be gone upstream when a client requests to install it, resulting in an uninstallable package).

I seem to remember those have descriptions in the UI, but only on the Edit page and not the Create (or is it the other way around?)..