Any
While both of these processes delete binaries in the filestore, each has distinctive qualities:
-
Garbage Collection disposes of filestore binaries that are tagged by Artifactory as delete candidates. In addition to the UI, you also have the option to use the Run Garbage Collection REST API, which is available HERE.
-
Prune Unreferenced Data (PUD) deletes the randomly-existing binaries in the filestore that are not referenced in the Artifactory. When you invoke this action, Artifactory removes from the filestore unreferenced binary files and empty folders. PUD won’t delete binaries marked as delete candidates in Artifactory (those would be deleted by GC). For information on the PUD APIs, see Pruning Unreferenced Data (PUD) APIs.
UI in Artifactory v6.x is: Admin > Advanced > Maintenance > Storage > Prune Unreferenced Data
UI in Artifactory v7.x is: Administration > Services > Artifactory > Advanced > Maintenance > Prune Unreferenced Data.