Smart Archiving Use Cases

JFrog Platform Administration Documentation

Content Type
Administration / Platform
ft:sourceType
Paligo

This topic outlines sample use cases for creating archive policies. It includes the type of use case, the scenario, the solution, and the expected result. These examples help you understand how to configure archive policies based on specific conditions for archiving packages.

Use Case

Scenario

Solution

Result

Archiving Stale Packages

Large repositories with many stale packages.

Create an archive policy to archive stale packages

  • Frees up storage

  • Keeps repositories clean

  • Restore for future use

Archiving Deprecated/EOL Versions of Packages

Deprecated versions of packages that are no longer needed.

Create an archive policy to archive deprecated/EOL versions.

Automating Archiving Old Packages

Required to retain packages for a set period (for example, 6 months) for compliance.

Create an archive policy to automate archiving packages based on any of the following conditions:

  • not used in the last 6 months

  • set version-based criteria to retain only the latest X versions.

  • Ensures compliance with data retention policies/auditing/legal requirements

  • Frees up storage

  • Keeps repositories clean

  • Restore for future use

Archiving for Compliance and Audit Purposes

Required to retain packages for auditing or legal reasons.

Create an archive policy to archive all packages older than a set number of years (for example 2 years).